示例#1
0
 public static CT_LinearShadeProperties Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_LinearShadeProperties ctObj = new CT_LinearShadeProperties();
     ctObj.ang = XmlHelper.ReadInt(node.Attributes["ang"]);
     ctObj.scaled = XmlHelper.ReadBool(node.Attributes["scaled"]);
     return ctObj;
 }
示例#2
0
 public CT_GradientFillProperties()
 {
     this.tileRectField = new CT_RelativeRect();
     this.pathField = new CT_PathShadeProperties();
     this.linField = new CT_LinearShadeProperties();
     this.gsLstField = new List<CT_GradientStop>();
 }