Class FT_MM_Var.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new FT_MM_Var.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 FT_MM_Var.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

    • num_axis

      public int num_axis()
      Returns:
      the value of the num_axis field.
    • num_designs

      public int num_designs()
      Returns:
      the value of the num_designs field.
    • num_namedstyles

      public int num_namedstyles()
      Returns:
      the value of the num_namedstyles field.
    • axis

      public FT_Var_Axis.Buffer axis()
      Returns:
      a FT_Var_Axis.Buffer view of the struct array pointed to by the axis field.
    • namedstyle

      public FT_Var_Named_Style.Buffer namedstyle()
      Returns:
      a FT_Var_Named_Style.Buffer view of the struct array pointed to by the namedstyle field.