类 BigGlyphMetrics.Builder

封闭类:
BigGlyphMetrics

public static class BigGlyphMetrics.Builder extends GlyphMetrics.Builder<BigGlyphMetrics>
  • 构造器详细资料

  • 方法详细资料

    • createBuilder

      public static BigGlyphMetrics.Builder createBuilder()
    • height

      public int height()
    • setHeight

      public void setHeight(byte height)
    • width

      public int width()
    • setWidth

      public void setWidth(byte width)
    • horiBearingX

      public int horiBearingX()
    • setHoriBearingX

      public void setHoriBearingX(byte bearing)
    • horiBearingY

      public int horiBearingY()
    • setHoriBearingY

      public void setHoriBearingY(byte bearing)
    • horiAdvance

      public int horiAdvance()
    • setHoriAdvance

      public void setHoriAdvance(byte advance)
    • vertBearingX

      public int vertBearingX()
    • setVertBearingX

      public void setVertBearingX(byte bearing)
    • vertBearingY

      public int vertBearingY()
    • setVertBearingY

      public void setVertBearingY(byte bearing)
    • vertAdvance

      public int vertAdvance()
    • setVertAdvance

      public void setVertAdvance(byte advance)
    • subBuildTable

      protected BigGlyphMetrics subBuildTable(ReadableFontData data)
      从类复制的说明: FontDataTable.Builder
      Build a table with the data provided.
      指定者:
      subBuildTable 在类中 FontDataTable.Builder<BigGlyphMetrics>
      参数:
      data - the data to use to build the table
      返回:
      a table
    • subDataSet

      protected void subDataSet()
      从类复制的说明: FontDataTable.Builder
      Tell the subclass that the data has been changed and any structures must be discarded.
      指定者:
      subDataSet 在类中 FontDataTable.Builder<BigGlyphMetrics>
    • subDataSizeToSerialize

      protected int subDataSizeToSerialize()
      从类复制的说明: FontDataTable.Builder
      Query if the subclass needs to serialize and how much data is required.
      指定者:
      subDataSizeToSerialize 在类中 FontDataTable.Builder<BigGlyphMetrics>
      返回:
      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<BigGlyphMetrics>
      返回:
      true if the subclass is ready to serialize it's structure into data
    • subSerialize

      protected int subSerialize(WritableFontData newData)
      从类复制的说明: FontDataTable.Builder
      Serialize the table to the data provided.
      指定者:
      subSerialize 在类中 FontDataTable.Builder<BigGlyphMetrics>
      参数:
      newData - the data object to serialize to
      返回:
      the number of bytes written