Class NkStyleChart

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class NkStyleChart extends Struct<NkStyleChart> implements NativeResource

Layout


 struct nk_style_chart {
     struct nk_style_item background;
     struct nk_color border_color;
     struct nk_color selected_color;
     struct nk_color color;
     float border;
     float rounding;
     struct nk_vec2 padding;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • BACKGROUND

      public static final int BACKGROUND
      The struct member offsets.
    • BORDER_COLOR

      public static final int BORDER_COLOR
      The struct member offsets.
    • SELECTED_COLOR

      public static final int SELECTED_COLOR
      The struct member offsets.
    • COLOR

      public static final int COLOR
      The struct member offsets.
    • BORDER

      public static final int BORDER
      The struct member offsets.
    • ROUNDING

      public static final int ROUNDING
      The struct member offsets.
    • PADDING

      public static final int PADDING
      The struct member offsets.
  • Constructor Details

    • NkStyleChart

      public NkStyleChart(ByteBuffer container)
      Creates a NkStyleChart instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

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

  • Method Details