Class hb_draw_state_t.Buffer

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

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

    • Buffer

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

    • path_open

      public boolean path_open()
      Returns:
      the value of the path_open field.
    • path_start_x

      public float path_start_x()
      Returns:
      the value of the path_start_x field.
    • path_start_y

      public float path_start_y()
      Returns:
      the value of the path_start_y field.
    • current_x

      public float current_x()
      Returns:
      the value of the current_x field.
    • current_y

      public float current_y()
      Returns:
      the value of the current_y field.
    • path_open

      public hb_draw_state_t.Buffer path_open(boolean value)
      Sets the specified value to the path_open field.
    • path_start_x

      public hb_draw_state_t.Buffer path_start_x(float value)
      Sets the specified value to the path_start_x field.
    • path_start_y

      public hb_draw_state_t.Buffer path_start_y(float value)
      Sets the specified value to the path_start_y field.
    • current_x

      public hb_draw_state_t.Buffer current_x(float value)
      Sets the specified value to the current_x field.
    • current_y

      public hb_draw_state_t.Buffer current_y(float value)
      Sets the specified value to the current_y field.