예제 #1
0
        public virtual CreatePoint GetPointD()
        {
            CreatePoint pointD = new CreatePoint();

            pointD.X = BasePoint.X;
            pointD.Y = BasePoint.Y + BasePoint.Length;

            return(pointD);
        }
예제 #2
0
        public virtual CreatePoint GetPointC()
        {
            CreatePoint pointC = new CreatePoint();

            pointC.X = BasePoint.X + BasePoint.Length;
            pointC.Y = BasePoint.Y + BasePoint.Length;

            return(pointC);
        }
예제 #3
0
        public virtual CreatePoint GetPointB()
        {
            CreatePoint pointB = new CreatePoint();

            pointB.X      = BasePoint.X + BasePoint.Length;
            pointB.Y      = BasePoint.Y;
            pointB.Length = BasePoint.Length;

            return(pointB);
        }
예제 #4
0
 public CreateSquare(CreatePoint BasePoint)
 {
     this.BasePoint = BasePoint;
 }