类 BitmapGlyph.Builder<T extends BitmapGlyph>
java.lang.Object
com.google.typography.font.sfntly.table.FontDataTable.Builder<T>
com.google.typography.font.sfntly.table.SubTable.Builder<T>
com.google.typography.font.sfntly.table.bitmap.BitmapGlyph.Builder<T>
- 封闭类:
BitmapGlyph
-
字段概要
字段 -
构造器概要
构造器限定符构造器说明protected
Builder
(ReadableFontData data, int format) protected
Builder
(WritableFontData data, int format) -
方法概要
修饰符和类型方法说明static BitmapGlyph.Builder<? extends BitmapGlyph>
createGlyphBuilder
(ReadableFontData data, int format) int
format()
protected void
Tell the subclass that the data has been changed and any structures must be discarded.protected int
Query if the subclass needs to serialize and how much data is required.protected boolean
protected int
subSerialize
(WritableFontData newData) Serialize the table to the data provided.从类继承的方法 com.google.typography.font.sfntly.table.SubTable.Builder
masterReadData
从类继承的方法 com.google.typography.font.sfntly.table.FontDataTable.Builder
build, changed, containedModelChanged, currentModelChanged, data, dataChanged, internalReadData, internalWriteData, modelChanged, notifyPostTableBuild, readyToBuild, setData, setData, setModelChanged, setModelChanged, subBuildTable
-
字段详细资料
-
format
private final int format
-
-
构造器详细资料
-
Builder
-
Builder
-
-
方法详细资料
-
createGlyphBuilder
public static BitmapGlyph.Builder<? extends BitmapGlyph> createGlyphBuilder(ReadableFontData data, int format) -
format
public int format() -
subDataSet
protected void subDataSet()从类复制的说明:FontDataTable.Builder
Tell the subclass that the data has been changed and any structures must be discarded.- 指定者:
subDataSet
在类中FontDataTable.Builder<T extends BitmapGlyph>
-
subDataSizeToSerialize
protected int subDataSizeToSerialize()从类复制的说明:FontDataTable.Builder
Query if the subclass needs to serialize and how much data is required.- 指定者:
subDataSizeToSerialize
在类中FontDataTable.Builder<T extends BitmapGlyph>
- 返回:
- positive bytes needed to serialize if a fixed size; and zero or negative bytes as an estimate if growable data is needed
-
subReadyToSerialize
protected boolean subReadyToSerialize()- 指定者:
subReadyToSerialize
在类中FontDataTable.Builder<T extends BitmapGlyph>
- 返回:
- true if the subclass is ready to serialize it's structure into data
-
subSerialize
从类复制的说明:FontDataTable.Builder
Serialize the table to the data provided.- 指定者:
subSerialize
在类中FontDataTable.Builder<T extends BitmapGlyph>
- 参数:
newData
- the data object to serialize to- 返回:
- the number of bytes written
-