Rectangle(X1,Y1,X2,Y2)
Draws a rectangle.
Specify the rectangle by giving the top left point at pixel coordinates (X1, Y1) and the bottom right point at (X2, Y2). The rectangle is drawn using the current pen width and color.
Parameters
- X1. Integer.
- Y1. Integer.
- X2. Integer.
- Y2. Integer.
Examples
Graphic.Rectangle(10,10,100,100);