Exemple #1
0
        public override object Clone()
        {
            NTriangle clonedFigure = base.Clone() as NTriangle;

            clonedFigure.PathFigure          = PathFigure.Clone();
            clonedFigure.PathFigure.IsClosed = true;
            clonedFigure.line1 = line1.Clone();
            clonedFigure.line2 = line2.Clone();
            return(clonedFigure);
        }