/// <summary> /// Options to change (graphics attributes) /// </summary> /// <param name="d">disposition</param> /// <param name="w">constraint on width</param> /// <param name="h">constraint on height</param> /// <param name="b">background color</param> /// <param name="a">border color</param> /// <param name="f">font color</param> /// <param name="bs">border size</param> /// <param name="ps">padding size</param> /// <param name="obj">ux object</param> public void Options(Disposition d, EnumConstraint w, EnumConstraint h, CSSColor b, CSSColor a, CSSColor f, int bs, int ps, IUXObject obj) { this.disposition = d; this.constraintWidth = w; this.constraintHeight = h; this.backgroundColor = (CSSColor)b.Clone(); this.borderColor = (CSSColor)a.Clone(); this.textColor = (CSSColor)f.Clone(); this.borderSize = bs; this.paddingSize = ps; this.content = obj; }