public override ShapeBase Clone() { var shape = new FreePencil { Location = Location, Size = Size, DrawMethod = DrawMethod, OutlineColor = OutlineColor, OutlineWidth = OutlineWidth, FillColor = FillColor, IsClosedFigure = IsClosedFigure, Vertices = (VertexCollection)Vertices.Clone() }; return shape; }
public override ShapeBase Clone() { var shape = new FreePencil { Location = Location, Size = Size, DrawMethod = DrawMethod, OutlineColor = OutlineColor, OutlineWidth = OutlineWidth, FillColor = FillColor, IsClosedFigure = IsClosedFigure, Vertices = (VertexCollection)Vertices.Clone() }; return(shape); }