Drawing Rectangles
From Progzoo
Drawing Rectangles
The method Graphics method drawRect(x,y,width,height) can be used to draw draw a rectangle with the current line style and colour. The top left corner is specified by (x,y) the width and height are as specified.
[Font]
[Default]
[Show]
[Resize]
[History]
[Profile]
Fill Rectangle
Rounded Rectangle
The methods drawRoundRect(x,y,width,height,rx,ry) draws a rectangle with rounded corners.
- x,y Top left corner of the rectangle
- width, height the width and height of the rectangle
- rx, ry The radius of the corners in the x and y directions
[Font]
[Default]
[Show]
[Resize]
[History]
[Profile]


