Class hb_color_line_t.Buffer

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

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

    • Buffer

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

    • data

      public long data()
      Returns:
      the value of the data field.
    • get_color_stops

      public hb_color_line_get_color_stops_func_t get_color_stops()
      Returns:
      the value of the get_color_stops field.
    • get_color_stops_user_data

      public long get_color_stops_user_data()
      Returns:
      the value of the get_color_stops_user_data field.
    • get_extend

      public hb_color_line_get_extend_func_t get_extend()
      Returns:
      the value of the get_extend field.
    • get_extend_user_data

      public long get_extend_user_data()
      Returns:
      the value of the get_extend_user_data field.
    • data

      public hb_color_line_t.Buffer data(long value)
      Sets the specified value to the data field.
    • get_color_stops

      Sets the specified value to the get_color_stops field.
    • get_color_stops_user_data

      public hb_color_line_t.Buffer get_color_stops_user_data(long value)
      Sets the specified value to the get_color_stops_user_data field.
    • get_extend

      Sets the specified value to the get_extend field.
    • get_extend_user_data

      public hb_color_line_t.Buffer get_extend_user_data(long value)
      Sets the specified value to the get_extend_user_data field.