示例#1
0
        public PointX Add(double x, double y)
        {
            PointX point = new PointX(x, y);

            Add(point);
            return(point);
        }
示例#2
0
        /// <summary>
        /// Implements the deep copy of the object.
        /// </summary>
        protected override object DeepCopy()
        {
            PointX point = (PointX)base.DeepCopy();

            if (point.lineFormat != null)
            {
                point.lineFormat        = point.lineFormat.Clone();
                point.lineFormat.parent = point;
            }
            if (point.fillFormat != null)
            {
                point.fillFormat        = point.fillFormat.Clone();
                point.fillFormat.parent = point;
            }
            return(point);
        }