struct YGStyle {
YGDirection direction : 2;
YGFlexDirection flexDirection : 2;
YGJustify justifyContent : 3;
YGAlign alignContent : 3;
YGAlign alignItems : 3;
YGAlign alignSelf : 3;
YGPositionType positionType : 2;
YGWrap flexWrap : 2;
YGOverflow overflow : 2;
YGDisplay display : 1;
YGFloatOptional flex;
YGFloatOptional flexGrow;
YGFloatOptional flexShrink;
CompactValue flexBasis;
CompactValue margin[9];
CompactValue positions[9];
CompactValue padding[9];
CompactValue border[9];
CompactValue gap_[3];
CompactValue dimensions[2];
CompactValue minDimensions[2];
CompactValue maxDimensions[2];
YGFloatOptional aspectRatio;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | YGStyle.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ASPECTRATIO
The struct member offsets. |
| public static final int | BORDER
The struct member offsets. |
| public static final int | DIMENSIONS
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | FLEX
The struct member offsets. |
| public static final int | FLEXBASIS
The struct member offsets. |
| public static final int | FLEXGROW
The struct member offsets. |
| public static final int | FLEXSHRINK
The struct member offsets. |
| public static final int | GAP_
The struct member offsets. |
| public static final int | MARGIN
The struct member offsets. |
| public static final int | MAXDIMENSIONS
The struct member offsets. |
| public static final int | MINDIMENSIONS
The struct member offsets. |
| public static final int | PADDING
The struct member offsets. |
| public static final int | POSITIONS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | YGStyle(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public int | |
| public YGFloatOptional | |
| public CompactValue. | |
| public CompactValue | |
| protected YGStyle | 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 YGStyle | |
| public static YGStyle. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static YGStyle | |
| public static YGStyle. | |
| public CompactValue. | |
| public CompactValue | |
| public int | |
| public int | |
| public YGFloatOptional | |
| public CompactValue | |
| public int | |
| public YGFloatOptional | |
| public YGFloatOptional | |
| public int | |
| public CompactValue. | |
| public CompactValue | |
| public int | |
| public CompactValue. | |
| public CompactValue | |
| public CompactValue. | |
| public CompactValue | |
| public CompactValue. | |
| public CompactValue | |
| public static int | |
| public static int | |
| public static int | |
| public static YGFloatOptional | |
| public static CompactValue. | |
| public static CompactValue | |
| public static CompactValue. | |
| public static CompactValue | |
| public static int | |
| public static int | |
| public static int | |
| public static YGFloatOptional | |
| public static CompactValue | |
| public static int | |
| public static YGFloatOptional | |
| public static YGFloatOptional | |
| public static int | |
| public static CompactValue. | |
| public static CompactValue | |
| public static int | |
| public static CompactValue. | |
| public static CompactValue | |
| public static CompactValue. | |
| public static CompactValue | |
| public static CompactValue. | |
| public static CompactValue | |
| public static int | |
| public static CompactValue. | |
| public static CompactValue | |
| public static CompactValue. | |
| public static CompactValue | |
| public static int | |
| public int | |
| public CompactValue. | |
| public CompactValue | |
| public CompactValue. | |
| public CompactValue | |
| public int | |
| public int |