public class LithoYogaMeasureFunction extends Object implements YogaMeasureFunction
Constructor and Description |
---|
LithoYogaMeasureFunction(LayoutStateContext layoutStateContext) |
Modifier and Type | Method and Description |
---|---|
long |
measure(YogaNode cssNode,
float width,
YogaMeasureMode widthMode,
float height,
YogaMeasureMode heightMode)
Return a value created by YogaMeasureOutput.make(width, height);
|
public LithoYogaMeasureFunction(LayoutStateContext layoutStateContext)
public long measure(YogaNode cssNode, float width, YogaMeasureMode widthMode, float height, YogaMeasureMode heightMode)
YogaMeasureFunction
measure
in interface YogaMeasureFunction