Class FT_Var_Axis

All Implemented Interfaces:
Pointer

public class FT_Var_Axis extends Struct<FT_Var_Axis>

 struct FT_Var_Axis {
     FT_String * name;
     FT_Fixed minimum;
     FT_Fixed def;
     FT_Fixed maximum;
     FT_ULong tag;
     FT_UInt strid;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • NAME

      public static final int NAME
      The struct member offsets.
    • MINIMUM

      public static final int MINIMUM
      The struct member offsets.
    • DEF

      public static final int DEF
      The struct member offsets.
    • MAXIMUM

      public static final int MAXIMUM
      The struct member offsets.
    • TAG

      public static final int TAG
      The struct member offsets.
    • STRID

      public static final int STRID
      The struct member offsets.
  • Constructor Details

    • FT_Var_Axis

      public FT_Var_Axis(ByteBuffer container)
      Creates a FT_Var_Axis instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

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

  • Method Details

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<FT_Var_Axis>
    • name

      public ByteBuffer name()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the name field.
    • nameString

      public String nameString()
      Returns:
      the null-terminated string pointed to by the name field.
    • minimum

      public long minimum()
      Returns:
      the value of the minimum field.
    • def

      public long def()
      Returns:
      the value of the def field.
    • maximum

      public long maximum()
      Returns:
      the value of the maximum field.
    • tag

      public long tag()
      Returns:
      the value of the tag field.
    • strid

      public int strid()
      Returns:
      the value of the strid field.
    • create

      public static FT_Var_Axis create(long address)
      Returns a new FT_Var_Axis instance for the specified memory address.
    • createSafe

      public static @Nullable FT_Var_Axis createSafe(long address)
      Like create, but returns null if address is NULL.
    • create

      public static FT_Var_Axis.Buffer create(long address, int capacity)
      Create a FT_Var_Axis.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable FT_Var_Axis.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • nname

      public static ByteBuffer nname(long struct)
      Unsafe version of name().
    • nnameString

      public static String nnameString(long struct)
      Unsafe version of nameString().
    • nminimum

      public static long nminimum(long struct)
      Unsafe version of minimum().
    • ndef

      public static long ndef(long struct)
      Unsafe version of def().
    • nmaximum

      public static long nmaximum(long struct)
      Unsafe version of maximum().
    • ntag

      public static long ntag(long struct)
      Unsafe version of tag().
    • nstrid

      public static int nstrid(long struct)
      Unsafe version of strid().