struct YGCachedMeasurement {
float availableWidth;
float availableHeight;
YGMeasureMode widthMeasureMode;
YGMeasureMode heightMeasureMode;
float computedWidth;
float computedHeight;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | YGCachedMeasurement.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | AVAILABLEHEIGHT
The struct member offsets. |
| public static final int | AVAILABLEWIDTH
The struct member offsets. |
| public static final int | COMPUTEDHEIGHT
The struct member offsets. |
| public static final int | COMPUTEDWIDTH
The struct member offsets. |
| public static final int | HEIGHTMEASUREMODE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | WIDTHMEASUREMODE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | YGCachedMeasurement(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public float | |
| public float | |
| public float | |
| protected YGCachedMeasurement | 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 YGCachedMeasurement | |
| public static YGCachedMeasurement. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static YGCachedMeasurement | |
| public static YGCachedMeasurement. | |
| public int | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public static int | |
| public static int | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| AVAILABLEHEIGHT | back to summary |
|---|---|
| public static final int AVAILABLEHEIGHT The struct member offsets. | |
| AVAILABLEWIDTH | back to summary |
|---|---|
| public static final int AVAILABLEWIDTH The struct member offsets. | |
| COMPUTEDHEIGHT | back to summary |
|---|---|
| public static final int COMPUTEDHEIGHT The struct member offsets. | |
| COMPUTEDWIDTH | back to summary |
|---|---|
| public static final int COMPUTEDWIDTH The struct member offsets. | |
| HEIGHTMEASUREMODE | back to summary |
|---|---|
| public static final int HEIGHTMEASUREMODE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| WIDTHMEASUREMODE | back to summary |
|---|---|
| public static final int WIDTHMEASUREMODE The struct member offsets. | |
| YGCachedMeasurement | back to summary |
|---|---|
| protected YGCachedMeasurement(long address, ByteBuffer container) | |
| YGCachedMeasurement | back to summary |
|---|---|
| public YGCachedMeasurement(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| availableHeight | back to summary |
|---|---|
public float availableHeight()
| |
| availableWidth | back to summary |
|---|---|
public float availableWidth()
| |
| computedHeight | back to summary |
|---|---|
public float computedHeight()
| |
| computedWidth | back to summary |
|---|---|
public float computedWidth()
| |
| create | back to summary |
|---|---|
| protected YGCachedMeasurement create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static YGCachedMeasurement create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static YGCachedMeasurement. Create a
| |
| createSafe | back to summary |
|---|---|
| public static YGCachedMeasurement createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static YGCachedMeasurement. Like
| |
| heightMeasureMode | back to summary |
|---|---|
public int heightMeasureMode()
| |
| navailableHeight | back to summary |
|---|---|
| public static float navailableHeight(long struct) Unsafe version of | |
| navailableWidth | back to summary |
|---|---|
| public static float navailableWidth(long struct) Unsafe version of | |
| ncomputedHeight | back to summary |
|---|---|
| public static float ncomputedHeight(long struct) Unsafe version of | |
| ncomputedWidth | back to summary |
|---|---|
| public static float ncomputedWidth(long struct) Unsafe version of | |
| nheightMeasureMode | back to summary |
|---|---|
| public static int nheightMeasureMode(long struct) Unsafe version of | |
| nwidthMeasureMode | back to summary |
|---|---|
| public static int nwidthMeasureMode(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| widthMeasureMode | back to summary |
|---|---|
public int widthMeasureMode()
| |
YGCachedMeasurement structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final YGCachedMeasurement |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public float | |
| public float | |
| public float | |
| protected YGCachedMeasurement | |
| public int | |
| protected YGCachedMeasurement. | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final YGCachedMeasurement 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) | |
| availableHeight | back to summary |
|---|---|
public float availableHeight()
| |
| availableWidth | back to summary |
|---|---|
public float availableWidth()
| |
| computedHeight | back to summary |
|---|---|
public float computedHeight()
| |
| computedWidth | back to summary |
|---|---|
public float computedWidth()
| |
| getElementFactory | back to summary |
|---|---|
| protected YGCachedMeasurement getElementFactory() Implements abstract org.
| |
| heightMeasureMode | back to summary |
|---|---|
public int heightMeasureMode()
| |
| self | back to summary |
|---|---|
| protected YGCachedMeasurement. Implements abstract org.
| |
| widthMeasureMode | back to summary |
|---|---|
public int widthMeasureMode()
| |