类 FontDataTable
java.lang.Object
com.google.typography.font.sfntly.table.FontDataTable
An abstract base for any table that contains a FontData. This is the root of
the table class hierarchy.
- 作者:
- Stuart Gill
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明final int
Gets the length of the data for this table in bytes.Gets the readable font data for this table.protected int
serialize
(WritableFontData data) int
toString()
-
字段详细资料
-
data
-
-
构造器详细资料
-
FontDataTable
FontDataTable(ReadableFontData data) Constructor.- 参数:
data
- the data to back this table
-
-
方法详细资料
-
readFontData
Gets the readable font data for this table.- 返回:
- the read only data
-
toString
-
dataLength
public final int dataLength()Gets the length of the data for this table in bytes. This is the full allocated length of the data underlying the table and may or may not include any padding.- 返回:
- the data length in bytes
-
serialize
- 抛出:
IOException
-
serialize
-