public static final class IndexSubTableFormat2.Builder extends IndexSubTable.Builder<IndexSubTableFormat2>
Modifier and Type | Method and Description |
---|---|
BigGlyphMetrics.Builder |
bigMetrics() |
static IndexSubTableFormat2.Builder |
createBuilder() |
int |
glyphLength(int glyphId)
Gets the length of the glyph within the EBDT table.
|
int |
glyphStartOffset(int glyphId)
Gets the offset of the glyph relative to the block for this index
subtable.
|
int |
imageSize() |
int |
numGlyphs() |
void |
setImageSize(int imageSize) |
createBuilder, firstGlyphIndex, glyphInfo, glyphOffset, imageDataOffset, imageFormat, indexFormat, lastGlyphIndex, setFirstGlyphIndex, setImageDataOffset, setImageFormat, setLastGlyphIndex, toString
build, changed, data, readyToBuild, setData, setData
public static IndexSubTableFormat2.Builder createBuilder()
public int numGlyphs()
numGlyphs
in class IndexSubTable.Builder<IndexSubTableFormat2>
public int glyphStartOffset(int glyphId)
IndexSubTable.Builder
glyphStartOffset
in class IndexSubTable.Builder<IndexSubTableFormat2>
glyphId
- the glyph idpublic int glyphLength(int glyphId)
IndexSubTable.Builder
glyphLength
in class IndexSubTable.Builder<IndexSubTableFormat2>
glyphId
- the glyph idpublic int imageSize()
public void setImageSize(int imageSize)
public BigGlyphMetrics.Builder bigMetrics()