Class TT_Header.Buffer

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

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

    • Buffer

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

    • Table_Version

      public long Table_Version()
      Returns:
      the value of the Table_Version field.
    • Font_Revision

      public long Font_Revision()
      Returns:
      the value of the Font_Revision field.
    • CheckSum_Adjust

      public long CheckSum_Adjust()
      Returns:
      the value of the CheckSum_Adjust field.
    • Magic_Number

      public long Magic_Number()
      Returns:
      the value of the Magic_Number field.
    • Flags

      public short Flags()
      Returns:
      the value of the Flags field.
    • Units_Per_EM

      public short Units_Per_EM()
      Returns:
      the value of the Units_Per_EM field.
    • Created

      public CLongBuffer Created()
      Returns:
      a CLongBuffer view of the Created field.
    • Created

      public long Created(int index)
      Returns:
      the value at the specified index of the Created field.
    • Modified

      public CLongBuffer Modified()
      Returns:
      a CLongBuffer view of the Modified field.
    • Modified

      public long Modified(int index)
      Returns:
      the value at the specified index of the Modified field.
    • xMin

      public short xMin()
      Returns:
      the value of the xMin field.
    • yMin

      public short yMin()
      Returns:
      the value of the yMin field.
    • xMax

      public short xMax()
      Returns:
      the value of the xMax field.
    • yMax

      public short yMax()
      Returns:
      the value of the yMax field.
    • Mac_Style

      public short Mac_Style()
      Returns:
      the value of the Mac_Style field.
    • Lowest_Rec_PPEM

      public short Lowest_Rec_PPEM()
      Returns:
      the value of the Lowest_Rec_PPEM field.
    • Font_Direction

      public short Font_Direction()
      Returns:
      the value of the Font_Direction field.
    • Index_To_Loc_Format

      public short Index_To_Loc_Format()
      Returns:
      the value of the Index_To_Loc_Format field.
    • Glyph_Data_Format

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