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

      @NativeType("FT_Fixed") public long version()
      Returns:
      the value of the version field.
    • numGlyphs

      @NativeType("FT_UShort") public short numGlyphs()
      Returns:
      the value of the numGlyphs field.
    • maxPoints

      @NativeType("FT_UShort") public short maxPoints()
      Returns:
      the value of the maxPoints field.
    • maxContours

      @NativeType("FT_UShort") public short maxContours()
      Returns:
      the value of the maxContours field.
    • maxCompositePoints

      @NativeType("FT_UShort") public short maxCompositePoints()
      Returns:
      the value of the maxCompositePoints field.
    • maxCompositeContours

      @NativeType("FT_UShort") public short maxCompositeContours()
      Returns:
      the value of the maxCompositeContours field.
    • maxZones

      @NativeType("FT_UShort") public short maxZones()
      Returns:
      the value of the maxZones field.
    • maxTwilightPoints

      @NativeType("FT_UShort") public short maxTwilightPoints()
      Returns:
      the value of the maxTwilightPoints field.
    • maxStorage

      @NativeType("FT_UShort") public short maxStorage()
      Returns:
      the value of the maxStorage field.
    • maxFunctionDefs

      @NativeType("FT_UShort") public short maxFunctionDefs()
      Returns:
      the value of the maxFunctionDefs field.
    • maxInstructionDefs

      @NativeType("FT_UShort") public short maxInstructionDefs()
      Returns:
      the value of the maxInstructionDefs field.
    • maxStackElements

      @NativeType("FT_UShort") public short maxStackElements()
      Returns:
      the value of the maxStackElements field.
    • maxSizeOfInstructions

      @NativeType("FT_UShort") public short maxSizeOfInstructions()
      Returns:
      the value of the maxSizeOfInstructions field.
    • maxComponentElements

      @NativeType("FT_UShort") public short maxComponentElements()
      Returns:
      the value of the maxComponentElements field.
    • maxComponentDepth

      @NativeType("FT_UShort") public short maxComponentDepth()
      Returns:
      the value of the maxComponentDepth field.