public abstract static class IndexSubTable.Builder<T extends IndexSubTable> extends FontDataTable.Builder<T>
Modifier and Type | Method and Description |
---|---|
static IndexSubTable.Builder<? extends IndexSubTable> |
createBuilder(int indexFormat) |
int |
firstGlyphIndex() |
BitmapGlyphInfo |
glyphInfo(int glyphId)
Gets the glyph info for the specified glyph id.
|
abstract int |
glyphLength(int glyphId)
Gets the length of the glyph within the EBDT table.
|
int |
glyphOffset(int glyphId)
Gets the full offset of the glyph within the EBDT table.
|
abstract int |
glyphStartOffset(int glyphId)
Gets the offset of the glyph relative to the block for this index
subtable.
|
int |
imageDataOffset() |
int |
imageFormat() |
int |
indexFormat() |
int |
lastGlyphIndex() |
abstract int |
numGlyphs() |
void |
setFirstGlyphIndex(int firstGlyphIndex) |
void |
setImageDataOffset(int offset) |
void |
setImageFormat(int imageFormat) |
void |
setLastGlyphIndex(int lastGlyphIndex) |
java.lang.String |
toString() |
build, changed, data, readyToBuild, setData, setData
public static IndexSubTable.Builder<? extends IndexSubTable> createBuilder(int indexFormat)
public int indexFormat()
public int firstGlyphIndex()
public void setFirstGlyphIndex(int firstGlyphIndex)
public int lastGlyphIndex()
public void setLastGlyphIndex(int lastGlyphIndex)
public int imageFormat()
public void setImageFormat(int imageFormat)
public int imageDataOffset()
public void setImageDataOffset(int offset)
public abstract int numGlyphs()
public BitmapGlyphInfo glyphInfo(int glyphId)
glyphId
- the glyph id to look uppublic final int glyphOffset(int glyphId)
glyphId
- the glyph idpublic abstract int glyphStartOffset(int glyphId)
glyphId
- the glyph idpublic abstract int glyphLength(int glyphId)
glyphId
- the glyph idpublic java.lang.String toString()
toString
in class java.lang.Object