union nk_style_item_data {
struct nk_color color;
struct nk_image image;
struct nk_nine_slice slice;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkStyleItemData.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COLOR
The struct member offsets. |
| public static final int | IMAGE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SLICE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkStyleItemData(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static NkStyleItemData | |
| public static NkStyleItemData. | calloc(int
the buffer capacity capacity)Returns a new |
| public static NkStyleItemData | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkStyleItemData. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkStyleItemData | |
| public static NkStyleItemData | |
| public static NkStyleItemData. | |
| public static NkStyleItemData. | |
| public NkColor | |
| public NkStyleItemData | |
| public NkStyleItemData | |
| protected NkStyleItemData | 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 NkStyleItemData | |
| public static NkStyleItemData | |
| public static NkStyleItemData. | create(int
the buffer capacity capacity)Returns a new |
| public static NkStyleItemData. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkStyleItemData | |
| public static NkStyleItemData. | |
| public NkImage | |
| public NkStyleItemData | |
| public NkStyleItemData | |
| public static NkStyleItemData | |
| public static NkStyleItemData. | malloc(int
the buffer capacity capacity)Returns a new |
| public static NkStyleItemData | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkStyleItemData. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkStyleItemData | |
| public static NkStyleItemData | |
| public static NkStyleItemData. | |
| public static NkStyleItemData. | |
| public static NkColor | |
| public static void | |
| public static NkImage | |
| public static void | |
| public static NkNineSlice | |
| public static void | |
| public NkStyleItemData | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public NkNineSlice | |
| public NkStyleItemData | |
| public NkStyleItemData |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| COLOR | back to summary |
|---|---|
| public static final int COLOR The struct member offsets. | |
| IMAGE | back to summary |
|---|---|
| public static final int IMAGE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SLICE | back to summary |
|---|---|
| public static final int SLICE The struct member offsets. | |
| NkStyleItemData | back to summary |
|---|---|
| protected NkStyleItemData(long address, ByteBuffer container) | |
| NkStyleItemData | back to summary |
|---|---|
| public NkStyleItemData(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static NkStyleItemData calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static NkStyleItemData. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NkStyleItemData calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NkStyleItemData. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static NkStyleItemData callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkStyleItemData callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkStyleItemData. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkStyleItemData. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| color | back to summary |
|---|---|
public NkColor color()
| |
| color | back to summary |
|---|---|
| public NkStyleItemData color(NkColor value) Copies the specified | |
| color | back to summary |
|---|---|
| public NkStyleItemData color(Consumer<NkColor> consumer) Passes the | |
| create | back to summary |
|---|---|
| protected NkStyleItemData create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkStyleItemData create() Returns a new | |
| create | back to summary |
|---|---|
| public static NkStyleItemData create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkStyleItemData. Returns a new
| |
| create | back to summary |
|---|---|
| public static NkStyleItemData. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkStyleItemData createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkStyleItemData. Like
| |
| image | back to summary |
|---|---|
public NkImage image()
| |
| image | back to summary |
|---|---|
| public NkStyleItemData image(NkImage value) Copies the specified | |
| image | back to summary |
|---|---|
| public NkStyleItemData image(Consumer<NkImage> consumer) Passes the | |
| malloc | back to summary |
|---|---|
| public static NkStyleItemData malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static NkStyleItemData. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NkStyleItemData malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NkStyleItemData. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static NkStyleItemData mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkStyleItemData mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkStyleItemData. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkStyleItemData. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| 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 | |
| nimage | back to summary |
|---|---|
| public static NkImage nimage(long struct) Unsafe version of | |
| nimage | back to summary |
|---|---|
| public static void nimage(long struct, NkImage value) Unsafe version of | |
| nslice$ | back to summary |
|---|---|
| public static NkNineSlice nslice$(long struct) Unsafe version of | |
| nslice$ | back to summary |
|---|---|
| public static void nslice$(long struct, NkNineSlice value) Unsafe version of | |
| set | back to summary |
|---|---|
| public NkStyleItemData set(NkStyleItemData src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| slice$ | back to summary |
|---|---|
public NkNineSlice slice$()
| |
| slice$ | back to summary |
|---|---|
| public NkStyleItemData slice$(NkNineSlice value) Copies the specified | |
| slice$ | back to summary |
|---|---|
| public NkStyleItemData slice$(Consumer<NkNineSlice> consumer) Passes the | |
NkStyleItemData structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkStyleItemData |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public NkColor | |
| public NkStyleItemData. | |
| public NkStyleItemData. | |
| protected NkStyleItemData | |
| public NkImage | |
| public NkStyleItemData. | |
| public NkStyleItemData. | |
| protected NkStyleItemData. | |
| public NkNineSlice | |
| public NkStyleItemData. | |
| public NkStyleItemData. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkStyleItemData 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) | |
| color | back to summary |
|---|---|
public NkColor color()
| |
| color | back to summary |
|---|---|
| public NkStyleItemData. Copies the specified | |
| color | back to summary |
|---|---|
| public NkStyleItemData. Passes the | |
| getElementFactory | back to summary |
|---|---|
| protected NkStyleItemData getElementFactory() Implements abstract org.
| |
| image | back to summary |
|---|---|
public NkImage image()
| |
| image | back to summary |
|---|---|
| public NkStyleItemData. Copies the specified | |
| image | back to summary |
|---|---|
| public NkStyleItemData. Passes the | |
| self | back to summary |
|---|---|
| protected NkStyleItemData. Implements abstract org.
| |
| slice$ | back to summary |
|---|---|
public NkNineSlice slice$()
| |
| slice$ | back to summary |
|---|---|
| public NkStyleItemData. Copies the specified | |
| slice$ | back to summary |
|---|---|
| public NkStyleItemData. Passes the | |