Class PS_Private.Buffer

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

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

    • Buffer

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

    • unique_id

      @NativeType("FT_Int") public int unique_id()
      Returns:
      the value of the unique_id field.
    • lenIV

      @NativeType("FT_Int") public int lenIV()
      Returns:
      the value of the lenIV field.
    • num_blue_values

      @NativeType("FT_Byte") public byte num_blue_values()
      Returns:
      the value of the num_blue_values field.
    • num_other_blues

      @NativeType("FT_Byte") public byte num_other_blues()
      Returns:
      the value of the num_other_blues field.
    • num_family_blues

      @NativeType("FT_Byte") public byte num_family_blues()
      Returns:
      the value of the num_family_blues field.
    • num_family_other_blues

      @NativeType("FT_Byte") public byte num_family_other_blues()
      Returns:
      the value of the num_family_other_blues field.
    • blue_values

      @NativeType("FT_Short[14]") public ShortBuffer blue_values()
      Returns:
      a ShortBuffer view of the blue_values field.
    • blue_values

      @NativeType("FT_Short") public short blue_values(int index)
      Returns:
      the value at the specified index of the blue_values field.
    • other_blues

      @NativeType("FT_Short[10]") public ShortBuffer other_blues()
      Returns:
      a ShortBuffer view of the other_blues field.
    • other_blues

      @NativeType("FT_Short") public short other_blues(int index)
      Returns:
      the value at the specified index of the other_blues field.
    • family_blues

      @NativeType("FT_Short[14]") public ShortBuffer family_blues()
      Returns:
      a ShortBuffer view of the family_blues field.
    • family_blues

      @NativeType("FT_Short") public short family_blues(int index)
      Returns:
      the value at the specified index of the family_blues field.
    • family_other_blues

      @NativeType("FT_Short[10]") public ShortBuffer family_other_blues()
      Returns:
      a ShortBuffer view of the family_other_blues field.
    • family_other_blues

      @NativeType("FT_Short") public short family_other_blues(int index)
      Returns:
      the value at the specified index of the family_other_blues field.
    • blue_scale

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

      @NativeType("FT_Int") public int blue_shift()
      Returns:
      the value of the blue_shift field.
    • blue_fuzz

      @NativeType("FT_Int") public int blue_fuzz()
      Returns:
      the value of the blue_fuzz field.
    • standard_width

      @NativeType("FT_UShort[1]") public ShortBuffer standard_width()
      Returns:
      a ShortBuffer view of the standard_width field.
    • standard_width

      @NativeType("FT_UShort") public short standard_width(int index)
      Returns:
      the value at the specified index of the standard_width field.
    • standard_height

      @NativeType("FT_UShort[1]") public ShortBuffer standard_height()
      Returns:
      a ShortBuffer view of the standard_height field.
    • standard_height

      @NativeType("FT_UShort") public short standard_height(int index)
      Returns:
      the value at the specified index of the standard_height field.
    • num_snap_widths

      @NativeType("FT_Byte") public byte num_snap_widths()
      Returns:
      the value of the num_snap_widths field.
    • num_snap_heights

      @NativeType("FT_Byte") public byte num_snap_heights()
      Returns:
      the value of the num_snap_heights field.
    • force_bold

      @NativeType("FT_Bool") public boolean force_bold()
      Returns:
      the value of the force_bold field.
    • round_stem_up

      @NativeType("FT_Bool") public boolean round_stem_up()
      Returns:
      the value of the round_stem_up field.
    • snap_widths

      @NativeType("FT_Short[13]") public ShortBuffer snap_widths()
      Returns:
      a ShortBuffer view of the snap_widths field.
    • snap_widths

      @NativeType("FT_Short") public short snap_widths(int index)
      Returns:
      the value at the specified index of the snap_widths field.
    • snap_heights

      @NativeType("FT_Short[13]") public ShortBuffer snap_heights()
      Returns:
      a ShortBuffer view of the snap_heights field.
    • snap_heights

      @NativeType("FT_Short") public short snap_heights(int index)
      Returns:
      the value at the specified index of the snap_heights field.
    • expansion_factor

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

      @NativeType("FT_Long") public long language_group()
      Returns:
      the value of the language_group field.
    • password

      @NativeType("FT_Long") public long password()
      Returns:
      the value of the password field.
    • min_feature

      @NativeType("FT_Short[2]") public ShortBuffer min_feature()
      Returns:
      a ShortBuffer view of the min_feature field.
    • min_feature

      @NativeType("FT_Short") public short min_feature(int index)
      Returns:
      the value at the specified index of the min_feature field.