Example #1
0
 public void CopyStyle(CSSNode srcNode)
 {
     Native.CSSNodeCopyStyle(_cssNode, srcNode._cssNode);
 }
Example #2
0
 public virtual void MarkDirty()
 {
     Native.CSSNodeMarkDirty(_cssNode);
 }
Example #3
0
 public void MarkHasNewLayout()
 {
     Native.CSSNodeSetHasNewLayout(_cssNode, true);
 }
Example #4
0
 public static void SetExperimentalFeatureEnabled(
     CSSExperimentalFeature feature,
     bool enabled)
 {
     Native.CSSLayoutSetExperimentalFeatureEnabled(feature, enabled);
 }
Example #5
0
 public static bool IsExperimentalFeatureEnabled(CSSExperimentalFeature feature)
 {
     return(Native.CSSLayoutIsExperimentalFeatureEnabled(feature));
 }
Example #6
0
 public void SetMeasureFunction(MeasureFunction measureFunction)
 {
     _measureFunction = measureFunction;
     _cssMeasureFunc  = measureFunction != null ? MeasureInternal : (CSSMeasureFunc)null;
     Native.CSSNodeSetMeasureFunc(_cssNode, _cssMeasureFunc);
 }
Example #7
0
 public static int GetInstanceCount()
 {
     return(Native.CSSNodeGetInstanceCount());
 }
Example #8
0
 public void SetPosition(CSSEdge edge, float position)
 {
     Native.CSSNodeStyleSetPosition(_cssNode, edge, position);
 }
Example #9
0
 public void MarkLayoutSeen()
 {
     Native.CSSNodeSetHasNewLayout(_cssNode, false);
 }
Example #10
0
 public void SetBorder(CSSEdge edge, float border)
 {
     Native.CSSNodeStyleSetBorder(_cssNode, edge, border);
 }
Example #11
0
 public float GetPosition(CSSEdge edge)
 {
     return(Native.CSSNodeStyleGetPosition(_cssNode, edge));
 }
Example #12
0
 public float GetBorder(CSSEdge edge)
 {
     return(Native.CSSNodeStyleGetBorder(_cssNode, edge));
 }
Example #13
0
 public void SetPadding(CSSEdge edge, float padding)
 {
     Native.CSSNodeStyleSetPadding(_cssNode, edge, padding);
 }
Example #14
0
 public float GetPadding(CSSEdge edge)
 {
     return(Native.CSSNodeStyleGetPadding(_cssNode, edge));
 }
Example #15
0
 public void SetMargin(CSSEdge edge, float value)
 {
     Native.CSSNodeStyleSetMargin(_cssNode, edge, value);
 }
Example #16
0
 public float GetMargin(CSSEdge edge)
 {
     return(Native.CSSNodeStyleGetMargin(_cssNode, edge));
 }