示例#1
0
        public override BaseShape copySelf()
        {
            RectangleShape copyRectangleShape = new RectangleShape();

            copyRectangleShape.setP1(this.getP1());
            copyRectangleShape.setP2(this.getP2());
            copyRectangleShape.penColor = this.penColor;
            copyRectangleShape.penWidth = this.penWidth;
            return(copyRectangleShape);
        }