public class CSSLayout
extends java.lang.Object
LayoutEngine#layoutNode(CSSNode, float)
will go in the CSSNode.Modifier and Type | Field and Description |
---|---|
static int |
DIMENSION_HEIGHT |
static int |
DIMENSION_WIDTH |
float[] |
dimensions |
CSSDirection |
direction |
float[] |
position |
static int |
POSITION_BOTTOM |
static int |
POSITION_LEFT |
static int |
POSITION_RIGHT |
static int |
POSITION_TOP |
Constructor and Description |
---|
CSSLayout() |
Modifier and Type | Method and Description |
---|---|
void |
copy(CSSLayout layout) |
void |
resetResult()
This should always get called before calling
LayoutEngine#layoutNode(CSSNode, float) |
java.lang.String |
toString() |
public static final int POSITION_LEFT
public static final int POSITION_TOP
public static final int POSITION_RIGHT
public static final int POSITION_BOTTOM
public static final int DIMENSION_WIDTH
public static final int DIMENSION_HEIGHT
public float[] position
public float[] dimensions
public CSSDirection direction
public void resetResult()
LayoutEngine#layoutNode(CSSNode, float)
public void copy(CSSLayout layout)
public java.lang.String toString()
toString
in class java.lang.Object