Class FT_BBox.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<FT_BBox>, NativeResource, Pointer
Enclosing class:
FT_BBox

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

    • Buffer

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

    • xMin

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

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

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

      public long yMax()
      Returns:
      the value of the yMax field.
    • xMin

      public FT_BBox.Buffer xMin(long value)
      Sets the specified value to the xMin field.
    • yMin

      public FT_BBox.Buffer yMin(long value)
      Sets the specified value to the yMin field.
    • xMax

      public FT_BBox.Buffer xMax(long value)
      Sets the specified value to the xMax field.
    • yMax

      public FT_BBox.Buffer yMax(long value)
      Sets the specified value to the yMax field.