Exemplo n.º 1
0
        /// <summary>
        /// Clone this instance
        /// </summary>
        public override DrawObject Clone()
        {
            DrawTriangle drawTriangle = new DrawTriangle();
            drawTriangle.Rectangle = this.Rectangle;

            FillDrawObjectFields(drawTriangle);
            return drawTriangle;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Clone this instance
        /// </summary>
        public override DrawObject Clone()
        {
            DrawTriangle drawTriangle = new DrawTriangle();

            drawTriangle.Rectangle = this.Rectangle;

            FillDrawObjectFields(drawTriangle);
            return(drawTriangle);
        }