예제 #1
0
        /// <override></override>
        public override Shape Clone()
        {
            Shape result = new CircularArc(Type, this.Template);

            result.CopyFrom(this);
            return(result);
        }
예제 #2
0
        internal static Shape CreateInstance(ShapeType shapeType, Template template)
        {
            if (shapeType == null)
            {
                throw new ArgumentNullException("shapeType");
            }
            Shape result = new CircularArc(shapeType, template);

            return(result);
        }