类 BitmapGlyphInfo
java.lang.Object
com.google.typography.font.sfntly.table.bitmap.BitmapGlyphInfo
An immutable class holding bitmap glyph information.
- 作者:
- Stuart Gill
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final int
private final int
private final int
private final int
private final boolean
private final int
static final Comparator<BitmapGlyphInfo>
-
构造器概要
构造器构造器说明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. -
方法概要
-
字段详细资料
-
glyphId
private final int glyphId -
relative
private final boolean relative -
blockOffset
private final int blockOffset -
startOffset
private final int startOffset -
length
private final int length -
format
private final int format -
StartOffsetComparator
-
-
构造器详细资料
-
BitmapGlyphInfo
public BitmapGlyphInfo(int glyphId, int blockOffset, int startOffset, int length, int format) Constructor for a relative located glyph. The glyph's position in the EBDT table is a combination of it's block offset and it's own start offset.- 参数:
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 format
-
BitmapGlyphInfo
public BitmapGlyphInfo(int glyphId, int startOffset, int length, int format) Constructor for an absolute located glyph. The glyph's position in the EBDT table is only given by it's own start offset.- 参数:
glyphId
- the glyph idstartOffset
- the offset of the glyph within the blocklength
- the byte lengthformat
- the glyph image format
-
-
方法详细资料
-
glyphId
public int glyphId() -
relative
public boolean relative() -
blockOffset
public int blockOffset() -
offset
public int offset() -
startOffset
public int startOffset() -
length
public int length() -
format
public int format() -
hashCode
public int hashCode() -
equals
-