Пример #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);
        }