Class TT_MaxProfile.Buffer

All Implemented Interfaces:
Iterable<TT_MaxProfile>, Pointer
Enclosing class:
TT_MaxProfile

public static class TT_MaxProfile.Buffer extends StructBuffer<TT_MaxProfile,TT_MaxProfile.Buffer>
An array of TT_MaxProfile structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new TT_MaxProfile.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by TT_MaxProfile.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • version

      public long version()
      Returns:
      the value of the version field.
    • numGlyphs

      public short numGlyphs()
      Returns:
      the value of the numGlyphs field.
    • maxPoints

      public short maxPoints()
      Returns:
      the value of the maxPoints field.
    • maxContours

      public short maxContours()
      Returns:
      the value of the maxContours field.
    • maxCompositePoints

      public short maxCompositePoints()
      Returns:
      the value of the maxCompositePoints field.
    • maxCompositeContours

      public short maxCompositeContours()
      Returns:
      the value of the maxCompositeContours field.
    • maxZones

      public short maxZones()
      Returns:
      the value of the maxZones field.
    • maxTwilightPoints

      public short maxTwilightPoints()
      Returns:
      the value of the maxTwilightPoints field.
    • maxStorage

      public short maxStorage()
      Returns:
      the value of the maxStorage field.
    • maxFunctionDefs

      public short maxFunctionDefs()
      Returns:
      the value of the maxFunctionDefs field.
    • maxInstructionDefs

      public short maxInstructionDefs()
      Returns:
      the value of the maxInstructionDefs field.
    • maxStackElements

      public short maxStackElements()
      Returns:
      the value of the maxStackElements field.
    • maxSizeOfInstructions

      public short maxSizeOfInstructions()
      Returns:
      the value of the maxSizeOfInstructions field.
    • maxComponentElements

      public short maxComponentElements()
      Returns:
      the value of the maxComponentElements field.
    • maxComponentDepth

      public short maxComponentDepth()
      Returns:
      the value of the maxComponentDepth field.