public class LithoYogaMeasureFunction extends java.lang.Object implements YogaMeasureFunction
Constructor and Description |
---|
LithoYogaMeasureFunction(LayoutStateContext layoutStateContext,
LayoutStateContext prevLayoutStateContext) |
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, LayoutStateContext prevLayoutStateContext)
public long measure(YogaNode cssNode, float width, YogaMeasureMode widthMode, float height, YogaMeasureMode heightMode)
YogaMeasureFunction
measure
in interface YogaMeasureFunction