Documentation | InterfaceKit | unicode_block_range
SYNOPSIS
Perl
use HaikuR1::Font qw(kUnicodeBlockMap); my $range = kUnicodeBlockMap->[0];
Python
from HaikuR1.InterfaceKit import be_plain_font, B_CYRILLIC_BLOCK range = kUnicodeBlockMap[0];
DESCRIPTION
Exposes the unicode_block_range
object, which represents a range of code
points.
Note that there is no constructor for this object; the only way to get one is
to pull it from the kUnicodeBlockMap
constant.
PROPERTIES
start
An integer, the start of the range.
end
An integer, the end of the range.
block
A unicode_block, the unicode block in question.
METHODS
Count
Returns the number of code points in the range.
Perl
$range->Count();
Python
range.Count()
CONSTANTS
kUnicodeBlockMap
A native list of unicode_block_range objects.