Rectangle Method

Object List Next Object

Defined By:
Printer

Description:

Draws a rectangle defined by the specified bounding rectangle.

Declaration:

Sub Rectangle(ByVal x1 As Single,ByVal y1 As Single, ByVal x2 As Single, ByVal y2 As Single)


Syntax Description


x1,y1 Defines the upper-left corner of the rectangle.

x2,y2 Defines the lower-right corner of the rectangle.

Details:

Rectangle uses the DrawColor, DrawMode, and DrawStyle properties to draw the rectangle. It uses FillStyle and FillColor to determine the appearance of its interior.

See Also:

FillStyle, FillColor, DrawStyle, DrawWidth, and DrawColor properties