Click or drag to resize

RectangleObject Constructor

X#
Construct a rectangle.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 CONSTRUCTOR(
	oPoint,
	oDimension,
	oPen,
	oBrush
) CLIPPER
Request Example View Source

Parameters

oPoint (Optional)
Type: Usual
The origin of the rectangle, in canvas coordinates.
oDimension (Optional)
Type: Usual
The dimension of the rectangle, in canvas coordinates.
oPen (Optional)
Type: Usual
The pen to be used to draw the rectangle. By default, oPen is set to NIL, which causes the current pen to be used.
oBrush (Optional)
Type: Usual
The brush to be used to fill the rectangle. If omitted, the default is NIL, which causes the current brush to be used.
See Also