public final class CMapSegment
extends java.lang.Object
getUnicodeStart()
and getUnicodeEnd()
map to contiguous glyph indices
starting from getGlyphStartIndex()
.Constructor and Description |
---|
CMapSegment(int unicodeStart,
int unicodeEnd,
int glyphStartIndex)
Creates a new segment.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getGlyphStartIndex()
Returns the glyphStartIndex.
|
int |
getUnicodeEnd()
Returns the unicodeEnd.
|
int |
getUnicodeStart()
Returns the unicodeStart.
|
int |
hashCode() |
java.lang.String |
toString() |
public CMapSegment(int unicodeStart, int unicodeEnd, int glyphStartIndex)
unicodeStart
- Unicode start indexunicodeEnd
- Unicode end indexglyphStartIndex
- glyph start indexpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int getUnicodeStart()
public int getUnicodeEnd()
public int getGlyphStartIndex()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.