/// <summary> /// Clones this instance. /// </summary> public XGraphicsPath Clone() { XGraphicsPath path = (XGraphicsPath)MemberwiseClone(); _corePath = new CoreGraphicsPath(_corePath); return(path); }
/// <summary> /// Initializes a new instance of the <see cref="XGraphicsPath"/> class. /// </summary> public XGraphicsPath() { _corePath = new CoreGraphicsPath(); }
public CoreGraphicsPath(CoreGraphicsPath path) { _points = new List <XPoint>(path._points); _types = new List <byte>(path._types); }