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

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

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

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

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

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

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

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

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

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

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

      public long italic_angle()
      Returns:
      the value of the italic_angle field.
    • is_fixed_pitch

      public boolean is_fixed_pitch()
      Returns:
      the value of the is_fixed_pitch field.
    • underline_position

      public short underline_position()
      Returns:
      the value of the underline_position field.
    • underline_thickness

      public short underline_thickness()
      Returns:
      the value of the underline_thickness field.