struct nk_style_text {
struct nk_color color;
struct nk_vec2 padding;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkStyleText.
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 | PADDING
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkStyleText(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static NkStyleText | |
| public static NkStyleText. | calloc(int
the buffer capacity capacity)Returns a new |
| public static NkStyleText | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkStyleText. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkStyleText | |
| public static NkStyleText | |
| public static NkStyleText. | |
| public static NkStyleText. | |
| public NkColor | |
| public NkStyleText | |
| public NkStyleText | |
| protected NkStyleText | 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 NkStyleText | |
| public static NkStyleText | |
| public static NkStyleText. | create(int
the buffer capacity capacity)Returns a new |
| public static NkStyleText. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkStyleText | |
| public static NkStyleText. | |
| public static NkStyleText | |
| public static NkStyleText. | malloc(int
the buffer capacity capacity)Returns a new |
| public static NkStyleText | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkStyleText. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkStyleText | |
| public static NkStyleText | |
| public static NkStyleText. | |
| public static NkStyleText. | |
| public static NkColor | |
| public static void | |
| public static NkVec2 | |
| public static void | |
| public NkVec2 | |
| public NkStyleText | |
| public NkStyleText | |
| public NkStyleText | |
| public NkStyleText | 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. | |
| 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. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| NkStyleText | back to summary |
|---|---|
| protected NkStyleText(long address, ByteBuffer container) | |
| NkStyleText | back to summary |
|---|---|
| public NkStyleText(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static NkStyleText calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static NkStyleText. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NkStyleText calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NkStyleText. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static NkStyleText callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkStyleText callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkStyleText. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkStyleText. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| color | back to summary |
|---|---|
public NkColor color()
| |
| color | back to summary |
|---|---|
| public NkStyleText color(NkColor value) Copies the specified | |
| color | back to summary |
|---|---|
| public NkStyleText color(Consumer<NkColor> consumer) Passes the | |
| create | back to summary |
|---|---|
| protected NkStyleText create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkStyleText create() Returns a new | |
| create | back to summary |
|---|---|
| public static NkStyleText create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkStyleText. Returns a new
| |
| create | back to summary |
|---|---|
| public static NkStyleText. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkStyleText createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkStyleText. Like
| |
| malloc | back to summary |
|---|---|
| public static NkStyleText malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static NkStyleText. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NkStyleText malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NkStyleText. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static NkStyleText mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkStyleText mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkStyleText. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkStyleText. 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 | |
| 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 | |
| padding | back to summary |
|---|---|
public NkVec2 padding()
| |
| padding | back to summary |
|---|---|
| public NkStyleText padding(NkVec2 value) Copies the specified | |
| padding | back to summary |
|---|---|
| public NkStyleText padding(Consumer<NkVec2> consumer) Passes the | |
| set | back to summary |
|---|---|
| public NkStyleText set(NkColor color, NkVec2 padding) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public NkStyleText set(NkStyleText src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
NkStyleText structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkStyleText |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public NkColor | |
| public NkStyleText. | |
| public NkStyleText. | |
| protected NkStyleText | |
| public NkVec2 | |
| public NkStyleText. | |
| public NkStyleText. | |
| protected NkStyleText. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkStyleText 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 NkStyleText. Copies the specified | |
| color | back to summary |
|---|---|
| public NkStyleText. Passes the | |
| getElementFactory | back to summary |
|---|---|
| protected NkStyleText getElementFactory() Implements abstract org.
| |
| padding | back to summary |
|---|---|
public NkVec2 padding()
| |
| padding | back to summary |
|---|---|
| public NkStyleText. Copies the specified | |
| padding | back to summary |
|---|---|
| public NkStyleText. Passes the | |
| self | back to summary |
|---|---|
| protected NkStyleText. Implements abstract org.
| |