Package org.apache.batik.gvt.font
Class UnicodeRange
java.lang.Object
org.apache.batik.gvt.font.UnicodeRange
A class that represents a CSS unicode range. This only handles
a single range of contigous chars, to handle multiple ranges
(comma seperated) use a list of these.
- Version:
- $Id: UnicodeRange.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnicodeRange
(String unicodeRange) Constructs a unicode range from a CSS unicode range string. -
Method Summary
-
Field Details
-
firstUnicodeValue
private int firstUnicodeValue -
lastUnicodeValue
private int lastUnicodeValue
-
-
Constructor Details
-
UnicodeRange
Constructs a unicode range from a CSS unicode range string.
-
-
Method Details
-
contains
Returns true if the specified unicode value is within this range. -
contains
public boolean contains(int unicodeVal)
-