RectangleObject Class |
Namespace: VO
The RectangleObject type exposes the following members.
Name | Description | |
---|---|---|
RectangleObject |
Construct a rectangle.
|
Name | Description | |
---|---|---|
BoundingBox |
A bounding box representing the smallest rectangle that fully encloses the ShapeObject object.
(Inherited from ShapeObject.) | |
Brush |
A brush currently in use by the ShapeObject object to draw itself.
(Inherited from ShapeObject.) | |
Origin |
A point representing the origin of this DrawObject object in canvas coordinates.
(Inherited from DrawObject.) | |
Pen |
A pen currently in use by the ShapeObject object to draw itself.
(Inherited from ShapeObject.) | |
RasterOperation |
A constant, indicating the raster operation in use for this DrawObject object:
(Inherited from DrawObject.) | |
Size |
A dimension representing the current size of the ShapeObject object, in canvas coordinates.
(Inherited from ShapeObject.) |
Name | Description | |
---|---|---|
Draw |
Draw the rectangle on the window.
(Overrides Draw.) | |
Handle |
Return the handle for a DrawObject object.
(Inherited from DrawObject.) | |
HitTest |
Determine if a given point lies within the bounding box of a DrawObject object.
(Inherited from DrawObject.) |
1METHOD Expose(oEvent) CLASS MyWindow 2LOCAL oRectangle AS OBJECT 3oRectangle := RectangleObject{Point{10,10},; 4Dimension{20,40}} 5SELF:Draw(oRectangle)