Click or drag to resize

RectangleObject Constructor (Point, Dimension, Pen, Brush)

X#
Construct a rectangle.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 CONSTRUCTOR(
	oPoint AS Point,
	oDimension AS Dimension,
	oPen AS Pen,
	oBrush AS Brush
)
Request Example View Source

Parameters

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