直接已知子类:
CompositeGlyph, SimpleGlyph

public abstract class Glyph extends SubTable
  • 字段详细资料

    • initialized

      protected volatile boolean initialized
    • initializationLock

      protected final Object initializationLock
    • glyphType

      private final Glyph.GlyphType glyphType
    • numberOfContours

      private final int numberOfContours
  • 构造器详细资料

  • 方法详细资料

    • glyphType

      private static Glyph.GlyphType glyphType(ReadableFontData data, int offset, int length)
    • getGlyph

      static Glyph getGlyph(GlyphTable table, ReadableFontData data, int offset, int length)
    • initialize

      protected abstract void initialize()
    • padding

      public int padding()
      从类复制的说明: SubTable
      Get the number of bytes of padding used in the table. The padding bytes are used to align the table length to a 4 byte boundary.
      覆盖:
      padding 在类中 SubTable
      返回:
      the number of padding bytes
    • glyphType

      public Glyph.GlyphType glyphType()
    • numberOfContours

      public int numberOfContours()
      Gets the number of contours in the glyph. If this returns a number greater than or equal to zero it is the actual number of contours and this is a simple glyph. If there are zero contours in the glyph then none of the other data operations will return usable values. If it -1 then the glyph is a composite glyph.
      返回:
      number of contours
    • xMin

      public int xMin()
    • xMax

      public int xMax()
    • yMin

      public int yMin()
    • yMax

      public int yMax()
    • instructionSize

      public abstract int instructionSize()
    • instructions

      public abstract ReadableFontData instructions()
    • toString

      public String toString()
      覆盖:
      toString 在类中 FontDataTable
    • toString

      public String toString(int length)