Class UnicodeRange

java.lang.Object
org.apache.batik.gvt.font.UnicodeRange

public class UnicodeRange extends Object
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.
  • Constructor Details

    • UnicodeRange

      public UnicodeRange(String unicodeRange)
      Constructs a unicode range from a CSS unicode range string.
  • Method Details

    • contains

      public boolean contains(String unicode)
      Returns true if the specified unicode value is within this range.
    • contains

      public boolean contains(int unicodeVal)