struct YGNode {
void * context;
YGNodeFlags flags;
union {
YGMeasureFunc noContext;
MeasureWithContextFn withContext;
} measure;
union {
YGBaselineFunc noContext;
BaselineWithContextFn withContext;
} baseline;
union {
YGPrintFunc noContext;
PrintWithContextFn withContext;
} print;
YGDirtiedFunc dirtied;
YGStyle style;
YGLayout layout;
uint32_t lineIndex;
YGNodeRef owner;
YGVector children;
YGConfigRef config;
YGValue resolvedDimensions[2];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | YGNode.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BASELINE
The struct member offsets. |
| public static final int | BASELINE_NOCONTEXT
The struct member offsets. |
| public static final int | BASELINE_WITHCONTEXT
The struct member offsets. |
| public static final int | CHILDREN
The struct member offsets. |
| public static final int | CONFIG
The struct member offsets. |
| public static final int | CONTEXT
The struct member offsets. |
| public static final int | DIRTIED
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | LAYOUT
The struct member offsets. |
| public static final int | LINEINDEX
The struct member offsets. |
| public static final int | MEASURE
The struct member offsets. |
| public static final int | MEASURE_NOCONTEXT
The struct member offsets. |
| public static final int | MEASURE_WITHCONTEXT
The struct member offsets. |
| public static final int | OWNER
The struct member offsets. |
| public static final int | PRINT
The struct member offsets. |
| public static final int | PRINT_NOCONTEXT
The struct member offsets. |
| public static final int | PRINT_WITHCONTEXT
The struct member offsets. |
| public static final int | RESOLVEDDIMENSIONS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYLE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | YGNode(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public YGBaselineFunc | |
| public YGNode | |
| public long | |
| public YGNode | |
| public static YGNode | |
| public static YGNode. | calloc(int
the buffer capacity capacity)Returns a new |
| public static YGNode | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static YGNode. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static YGNode | |
| public static YGNode | |
| public static YGNode. | |
| public static YGNode. | |
| public long | |
| public YGNode | |
| public long | |
| public YGNode | |
| protected YGNode | 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 YGNode | |
| public static YGNode | |
| public static YGNode. | create(int
the buffer capacity capacity)Returns a new |
| public static YGNode. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static YGNode | |
| public static YGNode. | |
| public YGDirtiedFunc | |
| public YGNode | |
| public YGNodeFlags | |
| public YGNode | |
| public YGNode | |
| public YGLayout | |
| public YGNode | |
| public int | |
| public YGNode | |
| public static YGNode | |
| public static YGNode. | malloc(int
the buffer capacity capacity)Returns a new |
| public static YGNode | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static YGNode. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static YGNode | |
| public static YGNode | |
| public static YGNode. | |
| public static YGNode. | |
| public YGMeasureFunc | |
| public YGNode | |
| public long | |
| public YGNode | |
| public static YGBaselineFunc | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static YGDirtiedFunc | |
| public static void | |
| public static YGNodeFlags | |
| public static void | |
| public static YGLayout | |
| public static void | |
| public static int | |
| public static void | |
| public static YGMeasureFunc | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static YGPrintFunc | |
| public static void | |
| public static long | |
| public static void | |
| public static YGValue. | |
| public static YGValue | |
| public static void | |
| public static void | |
| public static YGStyle | |
| public static void | |
| public long | |
| public YGNode | |
| public YGPrintFunc | |
| public YGNode | |
| public long | |
| public YGNode | |
| public YGValue. | |
| public YGValue | |
| public YGNode | resolvedDimensions(YGValue.
Copies the specified |
| public YGNode | resolvedDimensions(int index, YGValue value)
Copies the specified |
| public YGNode | resolvedDimensions(Consumer<YGValue.
Passes the |
| public YGNode | resolvedDimensions(int index, Consumer<YGValue> consumer)
Passes the element at |
| public YGNode | |
| public int | |
| public YGStyle | |
| public YGNode |