Click or drag to resize

RectangleObject Constructor (Usual, Usual, Usual, Usual)

X#
Construct a rectangle.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 CONSTRUCTOR(
	oPoint AS USUAL,
	oDimension AS USUAL,
	oPen AS USUAL,
	oBrush AS USUAL
)
Request Example View Source

Parameters

oPoint
Type: Usual
The origin of the rectangle, in canvas coordinates.
oDimension
Type: Usual
The dimension of the rectangle, in canvas coordinates.
oPen
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
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