Exemplo n.º 1
0
        /// <override></override>
        public override Shape Clone()
        {
            Shape result = new CircularArc(Type, (Template)null);

            result.CopyFrom(this);
            return(result);
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 internal static Shape CreateInstance(ShapeType shapeType, Template template)
 {
     if (shapeType == null) throw new ArgumentNullException("shapeType");
     Shape result = new CircularArc(shapeType, template);
     return result;
 }
Exemplo n.º 4
0
 /// <override></override>
 public override Shape Clone()
 {
     Shape result = new CircularArc(Type, (Template)null);
     result.CopyFrom(this);
     return result;
 }