RectangleObject Constructor (Point, Dimension, Pen, Brush) | |
Construct a rectangle.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax CONSTRUCTOR(
oPoint AS Point,
oDimension AS Dimension,
oPen AS Pen,
oBrush AS Brush
)
public RectangleObject(
Point oPoint,
Dimension oDimension,
Pen oPen,
Brush oBrush
)
Request Example
View SourceParameters
- 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