public static class GlyphTable.Builder extends SubTableContainerTable.Builder<GlyphTable>
| Modifier and Type | Method and Description |
|---|---|
static GlyphTable.Builder |
createBuilder(Header header,
WritableFontData data)
Create a new builder using the header information and data provided.
|
java.util.List<java.lang.Integer> |
generateLocaList()
Generate a loca table list from the current state of the glyph table
builder.
|
Glyph.Builder<? extends Glyph> |
glyphBuilder(ReadableFontData data) |
java.util.List<Glyph.Builder<? extends Glyph>> |
glyphBuilders()
Gets the List of glyph builders for the glyph table builder.
|
void |
revert() |
void |
setGlyphBuilders(java.util.List<Glyph.Builder<? extends Glyph>> glyphBuilders)
Replace the internal glyph builders with the one provided.
|
void |
setLoca(java.util.List<java.lang.Integer> loca) |
getBuilder, header, toStringbuild, changed, data, readyToBuild, setData, setDatapublic static GlyphTable.Builder createBuilder(Header header, WritableFontData data)
header - the header informationdata - the data holding the tablepublic void setLoca(java.util.List<java.lang.Integer> loca)
public java.util.List<java.lang.Integer> generateLocaList()
public void revert()
public java.util.List<Glyph.Builder<? extends Glyph>> glyphBuilders()
loca list has not been set or is null, empty, or
invalid, then an empty glyph builder List will be returned.public void setGlyphBuilders(java.util.List<Glyph.Builder<? extends Glyph>> glyphBuilders)
glyphBuilders() is being used and modified
then those changes will already be reflected in the glyph table builder.glyphBuilders - the new glyph builderspublic Glyph.Builder<? extends Glyph> glyphBuilder(ReadableFontData data)