Class FT_ClipBox.Buffer

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

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

    • Buffer Link icon

      public Buffer(ByteBuffer container)
      Creates a new FT_ClipBox.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_ClipBox.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer Link icon

      public Buffer(long address, int cap)
  • Method Details Link icon

    • bottom_left Link icon

      public FT_Vector bottom_left()
      Returns:
      a FT_Vector view of the bottom_left field.
    • top_left Link icon

      public FT_Vector top_left()
      Returns:
      a FT_Vector view of the top_left field.
    • top_right Link icon

      public FT_Vector top_right()
      Returns:
      a FT_Vector view of the top_right field.
    • bottom_right Link icon

      public FT_Vector bottom_right()
      Returns:
      a FT_Vector view of the bottom_right field.