struct nk_nine_slice {
struct nk_image img;
nk_ushort l;
nk_ushort t;
nk_ushort r;
nk_ushort b;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkNineSlice.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | B
The struct member offsets. |
| public static final int | IMG
The struct member offsets. |
| public static final int | L
The struct member offsets. |
| public static final int | R
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | T
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkNineSlice(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public short | |
| public NkNineSlice | |
| public static NkNineSlice | |
| public static NkNineSlice. | calloc(int
the buffer capacity capacity)Returns a new |
| public static NkNineSlice | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkNineSlice. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected NkNineSlice | 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 NkNineSlice | |
| public static NkNineSlice | |
| public static NkNineSlice. | create(int
the buffer capacity capacity)Returns a new |
| public static NkNineSlice. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkNineSlice | |
| public static NkNineSlice. | |
| public NkImage | |
| public NkNineSlice | |
| public NkNineSlice | |
| public short | |
| public NkNineSlice | |
| public static NkNineSlice | |
| public static NkNineSlice. | malloc(int
the buffer capacity capacity)Returns a new |
| public static NkNineSlice | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkNineSlice. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static short | |
| public static void | |
| public static NkImage | |
| public static void | |
| public static short | |
| public static void | |
| public static short | |
| public static void | |
| public static short | |
| public static void | |
| public short | |
| public NkNineSlice | |
| public NkNineSlice | |
| public NkNineSlice | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public short | |
| public NkNineSlice |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| B | back to summary |
|---|---|
| public static final int B The struct member offsets. | |
| IMG | back to summary |
|---|---|
| public static final int IMG The struct member offsets. | |
| L | back to summary |
|---|---|
| public static final int L The struct member offsets. | |
| R | back to summary |
|---|---|
| public static final int R The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| T | back to summary |
|---|---|
| public static final int T The struct member offsets. | |
| NkNineSlice | back to summary |
|---|---|
| protected NkNineSlice(long address, ByteBuffer container) | |
| NkNineSlice | back to summary |
|---|---|
| public NkNineSlice(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| b | back to summary |
|---|---|
public short b()
| |
| b | back to summary |
|---|---|
| public NkNineSlice b(short value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static NkNineSlice calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static NkNineSlice. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NkNineSlice calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NkNineSlice. Returns a new
| |
| create | back to summary |
|---|---|
| protected NkNineSlice create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkNineSlice create() Returns a new | |
| create | back to summary |
|---|---|
| public static NkNineSlice create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkNineSlice. Returns a new
| |
| create | back to summary |
|---|---|
| public static NkNineSlice. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkNineSlice createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkNineSlice. Like
| |
| img | back to summary |
|---|---|
public NkImage img()
| |
| img | back to summary |
|---|---|
| public NkNineSlice img(NkImage value) Copies the specified | |
| img | back to summary |
|---|---|
| public NkNineSlice img(Consumer<NkImage> consumer) Passes the | |
| l | back to summary |
|---|---|
public short l()
| |
| l | back to summary |
|---|---|
| public NkNineSlice l(short value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static NkNineSlice malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static NkNineSlice. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NkNineSlice malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NkNineSlice. Returns a new
| |
| nb | back to summary |
|---|---|
| public static short nb(long struct) Unsafe version of | |
| nb | back to summary |
|---|---|
| public static void nb(long struct, short value) Unsafe version of | |
| nimg | back to summary |
|---|---|
| public static NkImage nimg(long struct) Unsafe version of | |
| nimg | back to summary |
|---|---|
| public static void nimg(long struct, NkImage value) Unsafe version of | |
| nl | back to summary |
|---|---|
| public static short nl(long struct) Unsafe version of | |
| nl | back to summary |
|---|---|
| public static void nl(long struct, short value) Unsafe version of | |
| nr | back to summary |
|---|---|
| public static short nr(long struct) Unsafe version of | |
| nr | back to summary |
|---|---|
| public static void nr(long struct, short value) Unsafe version of | |
| nt | back to summary |
|---|---|
| public static short nt(long struct) Unsafe version of | |
| nt | back to summary |
|---|---|
| public static void nt(long struct, short value) Unsafe version of | |
| r | back to summary |
|---|---|
public short r()
| |
| r | back to summary |
|---|---|
| public NkNineSlice r(short value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public NkNineSlice set(NkImage img, short l, short t, short r, short b) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public NkNineSlice set(NkNineSlice src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| t | back to summary |
|---|---|
public short t()
| |
| t | back to summary |
|---|---|
| public NkNineSlice t(short value) Sets the specified value to the | |
NkNineSlice structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkNineSlice |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public short | |
| public NkNineSlice. | |
| protected NkNineSlice | |
| public NkImage | |
| public NkNineSlice. | |
| public NkNineSlice. | |
| public short | |
| public NkNineSlice. | |
| public short | |
| public NkNineSlice. | |
| protected NkNineSlice. | |
| public short | |
| public NkNineSlice. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkNineSlice 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) | |
| b | back to summary |
|---|---|
public short b()
| |
| b | back to summary |
|---|---|
| public NkNineSlice. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected NkNineSlice getElementFactory() Implements abstract org.
| |
| img | back to summary |
|---|---|
public NkImage img()
| |
| img | back to summary |
|---|---|
| public NkNineSlice. Copies the specified | |
| img | back to summary |
|---|---|
| public NkNineSlice. Passes the | |
| l | back to summary |
|---|---|
public short l()
| |
| l | back to summary |
|---|---|
| public NkNineSlice. Sets the specified value to the | |
| r | back to summary |
|---|---|
public short r()
| |
| r | back to summary |
|---|---|
| public NkNineSlice. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected NkNineSlice. Implements abstract org.
| |
| t | back to summary |
|---|---|
public short t()
| |
| t | back to summary |
|---|---|
| public NkNineSlice. Sets the specified value to the | |