public class Edges extends java.lang.Object implements Equivalence<Edges>
Modifier and Type | Field and Description |
---|---|
static int |
EDGES_LENGTH |
Constructor and Description |
---|
Edges() |
Modifier and Type | Method and Description |
---|---|
float |
get(YogaEdge edge) |
float |
getRaw(int edgeEnumValue) |
float |
getRaw(YogaEdge edge) |
boolean |
isEquivalentTo(Edges other) |
boolean |
set(YogaEdge yogaEdge,
float value) |
public boolean set(YogaEdge yogaEdge, float value)
public float get(YogaEdge edge)
public float getRaw(YogaEdge edge)
public float getRaw(int edgeEnumValue)
edgeEnumValue
- This method can directly accept the YogaEdge.XXX.intValue().public boolean isEquivalentTo(Edges other)
isEquivalentTo
in interface Equivalence<Edges>