public static int GetInstanceCount() { return(Native.CSSNodeGetInstanceCount()); }
public void SetMeasureFunction(MeasureFunction measureFunction) { AssertNativeInstance(); _measureFunction = measureFunction; Native.CSSNodeSetMeasureFunc(_cssNode, measureFunction != null ? MeasureInternal : (CSSMeasureFunc)null); }
public void CalculateLayout() { AssertNativeInstance(); Native.CSSNodeCalculateLayout(_cssNode, CSSConstants.Undefined, CSSConstants.Undefined, Native.CSSNodeStyleGetDirection(_cssNode)); }
public void SetPosition(CSSEdge edge, float position) { AssertNativeInstance(); Native.CSSNodeStyleSetPosition(_cssNode, edge, position); }
public void MarkLayoutSeen() { AssertNativeInstance(); Native.CSSNodeSetHasNewLayout(_cssNode, false); }
public void SetBorder(CSSEdge edge, float border) { AssertNativeInstance(); Native.CSSNodeStyleSetBorder(_cssNode, edge, border); }
public void SetPadding(CSSEdge edge, float padding) { AssertNativeInstance(); Native.CSSNodeStyleSetPadding(_cssNode, edge, padding); }
public void SetMargin(CSSEdge edge, float value) { AssertNativeInstance(); Native.CSSNodeStyleSetMargin(_cssNode, edge, value); }
public void MarkHasNewLayout() { AssertNativeInstance(); Native.CSSNodeSetHasNewLayout(_cssNode, true); }
public virtual void MarkDirty() { AssertNativeInstance(); Native.CSSNodeMarkDirty(_cssNode); }