protected override Property MakeCompound(PropertyList pList, FObj fo) { CondLength p = new CondLength(); Property subProp; subProp = GetSubpropMaker("length").Make(pList, getDefaultForLength(), fo); p.SetComponent("length", subProp, true); subProp = GetSubpropMaker("conditionality").Make(pList, getDefaultForConditionality(), fo); p.SetComponent("conditionality", subProp, true); return new CondLengthProperty(p); }
public CondLengthProperty(CondLength condLength) { this.condLength = condLength; }
public void setPadding(int side, CondLength width) { padding[side] = new ResolvedCondLength(width); }
public void setBorder(int side, int style, CondLength width, ColorType color) { borderInfo[side] = new BorderInfo(style, width, color); }
internal BorderInfo(int style, CondLength width, ColorType color) { mStyle = style; mWidth = new ResolvedCondLength(width); mColor = color; }
internal ResolvedCondLength(CondLength length) { bDiscard = length.IsDiscard(); iLength = length.MValue(); }