类 EblcTable.Builder
java.lang.Object
com.google.typography.font.sfntly.table.FontDataTable.Builder<T>
com.google.typography.font.sfntly.table.Table.Builder<T>
com.google.typography.font.sfntly.table.SubTableContainerTable.Builder<EblcTable>
com.google.typography.font.sfntly.table.bitmap.EblcTable.Builder
- 封闭类:
EblcTable
-
字段概要
字段 -
构造器概要
构造器限定符构造器说明protectedBuilder(Header header, ReadableFontData data) protectedBuilder(Header header, WritableFontData data) -
方法概要
修饰符和类型方法说明static EblcTable.BuildercreateBuilder(Header header, ReadableFontData data) Create a new builder using the header information and data provided.static EblcTable.BuildercreateBuilder(Header header, WritableFontData data) Create a new builder using the header information and data provided.Generates the loca list for the EBDT table.private List<BitmapSizeTable.Builder>private List<BitmapSizeTable.Builder>initialize(ReadableFontData data) protected voidrevert()protected EblcTableBuild a table with the data provided.protected voidTell the subclass that the data has been changed and any structures must be discarded.protected intQuery if the subclass needs to serialize and how much data is required.protected booleanprotected intsubSerialize(WritableFontData newData) Serialize the table to the data provided.从类继承的方法 com.google.typography.font.sfntly.table.Table.Builder
getBuilder, header, notifyPostTableBuild, toString从类继承的方法 com.google.typography.font.sfntly.table.FontDataTable.Builder
build, changed, containedModelChanged, currentModelChanged, data, dataChanged, internalReadData, internalWriteData, modelChanged, readyToBuild, setData, setData, setModelChanged, setModelChanged
-
字段详细资料
-
version
private final int version- 另请参阅:
-
sizeTableBuilders
-
-
构造器详细资料
-
Builder
-
Builder
-
-
方法详细资料
-
createBuilder
Create a new builder using the header information and data provided.- 参数:
header- the header informationdata- the data holding the table- 返回:
- a new builder
-
createBuilder
Create a new builder using the header information and data provided.- 参数:
header- the header informationdata- the data holding the table- 返回:
- a new builder
-
bitmapSizeBuilders
-
revert
protected void revert() -
generateLocaList
Generates the loca list for the EBDT table. The list is intended to be used by the EBDT to allow it to parse the glyph data and generate glyph objects. After returning from this method the list belongs to the caller. The list entries are in the same order as the size table builders are at the time of this call.- 返回:
- the list of loca maps with one for each size table builder
-
getSizeList
-
initialize
-
subBuildTable
从类复制的说明:FontDataTable.BuilderBuild a table with the data provided.- 指定者:
subBuildTable在类中FontDataTable.Builder<EblcTable>- 参数:
data- the data to use to build the table- 返回:
- a table
-
subDataSet
protected void subDataSet()从类复制的说明:FontDataTable.BuilderTell the subclass that the data has been changed and any structures must be discarded.- 指定者:
subDataSet在类中FontDataTable.Builder<EblcTable>
-
subDataSizeToSerialize
protected int subDataSizeToSerialize()从类复制的说明:FontDataTable.BuilderQuery if the subclass needs to serialize and how much data is required.- 指定者:
subDataSizeToSerialize在类中FontDataTable.Builder<EblcTable>- 返回:
- 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<EblcTable>- 返回:
- true if the subclass is ready to serialize it's structure into data
-
subSerialize
从类复制的说明:FontDataTable.BuilderSerialize the table to the data provided.- 指定者:
subSerialize在类中FontDataTable.Builder<EblcTable>- 参数:
newData- the data object to serialize to- 返回:
- the number of bytes written
-