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;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkStyleChart.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BACKGROUND
The struct member offsets. |
| public static final int | BORDER
The struct member offsets. |
| public static final int | BORDER_COLOR
The struct member offsets. |
| public static final int | COLOR
The struct member offsets. |
| public static final int | PADDING
The struct member offsets. |
| public static final int | ROUNDING
The struct member offsets. |
| public static final int | SELECTED_COLOR
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkStyleChart(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public NkStyleItem | |
| public NkStyleChart | |
| public NkStyleChart | |
| public float | |
| public NkStyleChart | |
| public NkColor | |
| public NkStyleChart | |
| public NkStyleChart | |
| public static NkStyleChart | |
| public static NkStyleChart. | calloc(int
the buffer capacity capacity)Returns a new |
| public static NkStyleChart | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkStyleChart. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkStyleChart | |
| public static NkStyleChart | |
| public static NkStyleChart. | |
| public static NkStyleChart. | |
| public NkColor | |
| public NkStyleChart | |
| public NkStyleChart | |
| protected NkStyleChart | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static NkStyleChart | |
| public static NkStyleChart | |
| public static NkStyleChart. | create(int
the buffer capacity capacity)Returns a new |
| public static NkStyleChart. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkStyleChart | |
| public static NkStyleChart. | |
| public static NkStyleChart | |
| public static NkStyleChart. | malloc(int
the buffer capacity capacity)Returns a new |
| public static NkStyleChart | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkStyleChart. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkStyleChart | |
| public static NkStyleChart | |
| public static NkStyleChart. | |
| public static NkStyleChart. | |
| public static NkStyleItem | |
| public static void | |
| public static float | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkVec2 | |
| public static void | |
| public static float | |
| public static void | |
| public static NkColor | |
| public static void | |
| public NkVec2 | |
| public NkStyleChart | |
| public NkStyleChart | |
| public float | |
| public NkStyleChart | |
| public NkColor | |
| public NkStyleChart | |
| public NkStyleChart | selected_color(Consumer<NkColor> consumer)
Passes the |
| public NkStyleChart | |
| public NkStyleChart | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BACKGROUND | back to summary |
|---|---|
| public static final int BACKGROUND The struct member offsets. | |
| BORDER | back to summary |
|---|---|
| public static final int BORDER The struct member offsets. | |
| BORDER_COLOR | back to summary |
|---|---|
| public static final int BORDER_COLOR The struct member offsets. | |
| COLOR | back to summary |
|---|---|
| public static final int COLOR The struct member offsets. | |
| PADDING | back to summary |
|---|---|
| public static final int PADDING The struct member offsets. | |
| ROUNDING | back to summary |
|---|---|
| public static final int ROUNDING The struct member offsets. | |
| SELECTED_COLOR | back to summary |
|---|---|
| public static final int SELECTED_COLOR The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| NkStyleChart | back to summary |
|---|---|
| protected NkStyleChart(long address, ByteBuffer container) | |
| NkStyleChart | back to summary |
|---|---|
| public NkStyleChart(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| background | back to summary |
|---|---|
public NkStyleItem background()
| |
| background | back to summary |
|---|---|
| public NkStyleChart background(NkStyleItem value) Copies the specified | |
| background | back to summary |
|---|---|
| public NkStyleChart background(Consumer<NkStyleItem> consumer) Passes the | |
| border | back to summary |
|---|---|
public float border()
| |
| border | back to summary |
|---|---|
| public NkStyleChart border(float value) Sets the specified value to the | |
| border_color | back to summary |
|---|---|
public NkColor border_color()
| |
| border_color | back to summary |
|---|---|
| public NkStyleChart border_color(NkColor value) Copies the specified | |
| border_color | back to summary |
|---|---|
| public NkStyleChart border_color(Consumer<NkColor> consumer) Passes the | |
| calloc | back to summary |
|---|---|
| public static NkStyleChart calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static NkStyleChart. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NkStyleChart calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NkStyleChart. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static NkStyleChart callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkStyleChart callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkStyleChart. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkStyleChart. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| color | back to summary |
|---|---|
public NkColor color()
| |
| color | back to summary |
|---|---|
| public NkStyleChart color(NkColor value) Copies the specified | |
| color | back to summary |
|---|---|
| public NkStyleChart color(Consumer<NkColor> consumer) Passes the | |
| create | back to summary |
|---|---|
| protected NkStyleChart create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkStyleChart create() Returns a new | |
| create | back to summary |
|---|---|
| public static NkStyleChart create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkStyleChart. Returns a new
| |
| create | back to summary |
|---|---|
| public static NkStyleChart. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkStyleChart createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkStyleChart. Like
| |
| malloc | back to summary |
|---|---|
| public static NkStyleChart malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static NkStyleChart. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NkStyleChart malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NkStyleChart. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static NkStyleChart mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkStyleChart mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkStyleChart. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkStyleChart. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbackground | back to summary |
|---|---|
| public static NkStyleItem nbackground(long struct) Unsafe version of | |
| nbackground | back to summary |
|---|---|
| public static void nbackground(long struct, NkStyleItem value) Unsafe version of | |
| nborder | back to summary |
|---|---|
| public static float nborder(long struct) Unsafe version of | |
| nborder | back to summary |
|---|---|
| public static void nborder(long struct, float value) Unsafe version of | |
| nborder_color | back to summary |
|---|---|
| public static NkColor nborder_color(long struct) Unsafe version of | |
| nborder_color | back to summary |
|---|---|
| public static void nborder_color(long struct, NkColor value) Unsafe version of | |
| ncolor | back to summary |
|---|---|
| public static NkColor ncolor(long struct) Unsafe version of | |
| ncolor | back to summary |
|---|---|
| public static void ncolor(long struct, NkColor value) Unsafe version of | |
| npadding | back to summary |
|---|---|
| public static NkVec2 npadding(long struct) Unsafe version of | |
| npadding | back to summary |
|---|---|
| public static void npadding(long struct, NkVec2 value) Unsafe version of | |
| nrounding | back to summary |
|---|---|
| public static float nrounding(long struct) Unsafe version of | |
| nrounding | back to summary |
|---|---|
| public static void nrounding(long struct, float value) Unsafe version of | |
| nselected_color | back to summary |
|---|---|
| public static NkColor nselected_color(long struct) Unsafe version of | |
| nselected_color | back to summary |
|---|---|
| public static void nselected_color(long struct, NkColor value) Unsafe version of | |
| padding | back to summary |
|---|---|
public NkVec2 padding()
| |
| padding | back to summary |
|---|---|
| public NkStyleChart padding(NkVec2 value) Copies the specified | |
| padding | back to summary |
|---|---|
| public NkStyleChart padding(Consumer<NkVec2> consumer) Passes the | |
| rounding | back to summary |
|---|---|
public float rounding()
| |
| rounding | back to summary |
|---|---|
| public NkStyleChart rounding(float value) Sets the specified value to the | |
| selected_color | back to summary |
|---|---|
public NkColor selected_color()
| |
| selected_color | back to summary |
|---|---|
| public NkStyleChart selected_color(NkColor value) Copies the specified | |
| selected_color | back to summary |
|---|---|
| public NkStyleChart selected_color(Consumer<NkColor> consumer) Passes the | |
| set | back to summary |
|---|---|
| public NkStyleChart set(NkStyleItem background, NkColor border_color, NkColor selected_color, NkColor color, float border, float rounding, NkVec2 padding) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public NkStyleChart set(NkStyleChart src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
NkStyleChart structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkStyleChart |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public NkStyleItem | |
| public NkStyleChart. | |
| public NkStyleChart. | |
| public float | |
| public NkStyleChart. | |
| public NkColor | |
| public NkStyleChart. | |
| public NkStyleChart. | |
| public NkColor | |
| public NkStyleChart. | |
| public NkStyleChart. | |
| protected NkStyleChart | |
| public NkVec2 | |
| public NkStyleChart. | |
| public NkStyleChart. | |
| public float | |
| public NkStyleChart. | |
| public NkColor | |
| public NkStyleChart. | |
| public NkStyleChart. | selected_color(Consumer<NkColor> consumer)
Passes the |
| protected NkStyleChart. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkStyleChart ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| background | back to summary |
|---|---|
public NkStyleItem background()
| |
| background | back to summary |
|---|---|
| public NkStyleChart. Copies the specified | |
| background | back to summary |
|---|---|
| public NkStyleChart. Passes the | |
| border | back to summary |
|---|---|
public float border()
| |
| border | back to summary |
|---|---|
| public NkStyleChart. Sets the specified value to the | |
| border_color | back to summary |
|---|---|
public NkColor border_color()
| |
| border_color | back to summary |
|---|---|
| public NkStyleChart. Copies the specified | |
| border_color | back to summary |
|---|---|
| public NkStyleChart. Passes the | |
| color | back to summary |
|---|---|
public NkColor color()
| |
| color | back to summary |
|---|---|
| public NkStyleChart. Copies the specified | |
| color | back to summary |
|---|---|
| public NkStyleChart. Passes the | |
| getElementFactory | back to summary |
|---|---|
| protected NkStyleChart getElementFactory() Implements abstract org.
| |
| padding | back to summary |
|---|---|
public NkVec2 padding()
| |
| padding | back to summary |
|---|---|
| public NkStyleChart. Copies the specified | |
| padding | back to summary |
|---|---|
| public NkStyleChart. Passes the | |
| rounding | back to summary |
|---|---|
public float rounding()
| |
| rounding | back to summary |
|---|---|
| public NkStyleChart. Sets the specified value to the | |
| selected_color | back to summary |
|---|---|
public NkColor selected_color()
| |
| selected_color | back to summary |
|---|---|
| public NkStyleChart. Copies the specified | |
| selected_color | back to summary |
|---|---|
| public NkStyleChart. Passes the | |
| self | back to summary |
|---|---|
| protected NkStyleChart. Implements abstract org.
| |