public CT_EffectList() { this.softEdgeField = new CT_SoftEdgesEffect(); this.reflectionField = new CT_ReflectionEffect(); this.prstShdwField = new CT_PresetShadowEffect(); this.outerShdwField = new CT_OuterShadowEffect(); this.innerShdwField = new CT_InnerShadowEffect(); this.glowField = new CT_GlowEffect(); this.fillOverlayField = new CT_FillOverlayEffect(); this.blurField = new CT_BlurEffect(); }
public static CT_BlurEffect Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_BlurEffect ctObj = new CT_BlurEffect(); ctObj.rad = XmlHelper.ReadLong(node.Attributes["rad"]); ctObj.grow = XmlHelper.ReadBool(node.Attributes["grow"]); return ctObj; }