Class PS_FontInfo.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new PS_FontInfo.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_FontInfo.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_String *") public ByteBuffer version()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the version field.
    • versionString

      @NativeType("FT_String *") public String versionString()
      Returns:
      the null-terminated string pointed to by the version field.
    • notice

      @NativeType("FT_String *") public ByteBuffer notice()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the notice field.
    • noticeString

      @NativeType("FT_String *") public String noticeString()
      Returns:
      the null-terminated string pointed to by the notice field.
    • full_name

      @NativeType("FT_String *") public ByteBuffer full_name()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the full_name field.
    • full_nameString

      @NativeType("FT_String *") public String full_nameString()
      Returns:
      the null-terminated string pointed to by the full_name field.
    • family_name

      @NativeType("FT_String *") public ByteBuffer family_name()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the family_name field.
    • family_nameString

      @NativeType("FT_String *") public String family_nameString()
      Returns:
      the null-terminated string pointed to by the family_name field.
    • weight

      @NativeType("FT_String *") public ByteBuffer weight()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the weight field.
    • weightString

      @NativeType("FT_String *") public String weightString()
      Returns:
      the null-terminated string pointed to by the weight field.
    • italic_angle

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

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

      @NativeType("FT_Short") public short underline_position()
      Returns:
      the value of the underline_position field.
    • underline_thickness

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