类 FontDataTable

java.lang.Object
com.google.typography.font.sfntly.table.FontDataTable
直接已知子类:
SubTable, Table

public abstract class FontDataTable extends Object
An abstract base for any table that contains a FontData. This is the root of the table class hierarchy.
作者:
Stuart Gill
  • 字段详细资料

  • 构造器详细资料

    • FontDataTable

      FontDataTable(ReadableFontData data)
      Constructor.
      参数:
      data - the data to back this table
  • 方法详细资料

    • readFontData

      public ReadableFontData readFontData()
      Gets the readable font data for this table.
      返回:
      the read only data
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • 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

      public int serialize(OutputStream os) throws IOException
      抛出:
      IOException
    • serialize

      protected int serialize(WritableFontData data)