public static CT_AdjPoint2D Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_AdjPoint2D ctObj = new CT_AdjPoint2D(); ctObj.x = XmlHelper.ReadString(node.Attributes["x"]); ctObj.y = XmlHelper.ReadString(node.Attributes["y"]); return(ctObj); }
public static CT_ConnectionSite Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_ConnectionSite ctObj = new CT_ConnectionSite(); ctObj.ang = XmlHelper.ReadString(node.Attributes["ang"]); foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "pos") { ctObj.pos = CT_AdjPoint2D.Parse(childNode, namespaceManager); } } return(ctObj); }
public CT_Path2DLineTo() { this.ptField = new CT_AdjPoint2D(); }
public CT_Path2DLineTo() { this.ptField = new CT_AdjPoint2D(); }
public static CT_AdjPoint2D Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_AdjPoint2D ctObj = new CT_AdjPoint2D(); ctObj.x = XmlHelper.ReadString(node.Attributes["x"]); ctObj.y = XmlHelper.ReadString(node.Attributes["y"]); return ctObj; }