Draws a rectangle specified by a coordinate pair, a width, and a height.
Namespace: com.mindfusion.drawing
Package: com.mindfusion.drawing
Java
![]() |
---|
public void drawRectangle ( |
A Pen object that determines the color, width, and style of the rectangle.
The x-coordinate of the upper-left corner of the rectangle to draw.
The y-coordinate of the upper-left corner of the rectangle to draw.
The width of the rectangle to draw.
The height of the rectangle to draw.