Exemple #1
0
        /// <summary>
        /// Clones this instance.
        /// </summary>
        public XGraphicsPath Clone()
        {
            XGraphicsPath path = (XGraphicsPath)MemberwiseClone();

            _corePath = new CoreGraphicsPath(_corePath);
            return(path);
        }
Exemple #2
0
 /// <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);
 }