public final class BitmapGlyphInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<BitmapGlyphInfo> |
StartOffsetComparator |
Constructor and Description |
---|
BitmapGlyphInfo(int glyphId,
int startOffset,
int length,
int format)
Constructor for an absolute located glyph.
|
BitmapGlyphInfo(int glyphId,
int blockOffset,
int startOffset,
int length,
int format)
Constructor for a relative located glyph.
|
Modifier and Type | Method and Description |
---|---|
int |
blockOffset() |
boolean |
equals(java.lang.Object obj) |
int |
format() |
int |
glyphId() |
int |
hashCode() |
int |
length() |
int |
offset() |
boolean |
relative() |
int |
startOffset() |
public static final java.util.Comparator<BitmapGlyphInfo> StartOffsetComparator
public BitmapGlyphInfo(int glyphId, int blockOffset, int startOffset, int length, int format)
glyphId
- the glyph idblockOffset
- the offset of the block to which the glyph belongsstartOffset
- the offset of the glyph within the blocklength
- the byte lengthformat
- the glyph image formatpublic BitmapGlyphInfo(int glyphId, int startOffset, int length, int format)
glyphId
- the glyph idstartOffset
- the offset of the glyph within the blocklength
- the byte lengthformat
- the glyph image formatpublic int glyphId()
public boolean relative()
public int blockOffset()
public int offset()
public int startOffset()
public int length()
public int format()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object