RectangleObject Class
|
|
Create a RectangleObject object; this class is part of the DrawObject hierarchy, which provides a means of displaying and manipulating various geometric objects.
Inheritance Hierarchy
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.24 GA
SyntaxThe RectangleObject type exposes the following members.
Constructors
Methods|
| Name | Description |
|---|
 | Draw |
Draw the rectangle on the window.
(Overrides Draw.) |
Top
Examples
To draw a RectangleObject object, call Window:Draw() with the RectangleObject object as its argument. The window does the drawing by asking each object to draw itself—for example:
1METHOD Expose(oEvent) CLASS MyWindow
2LOCAL oRectangle AS OBJECT
3oRectangle := RectangleObject{Point{10,10},;
4Dimension{20,40}}
5SELF:Draw(oRectangle)
See Also