Click or drag to resize

EllipseObject Class

X#
Create an EllipseObject object; this type of entity is part of the DrawObject hierarchy, which provides a means of displaying and manipulating various objects.
Inheritance Hierarchy
Object
  VObject
    DrawObject
      ShapeObject
        EllipseObject

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 CLASS EllipseObject INHERIT ShapeObject
Request Example View Source

The EllipseObject type exposes the following members.

Constructors
  NameDescription
Public methodEllipseObject
Construct an EllipseObject object.
Top
Properties
  NameDescription
Public propertyBoundingBox
A bounding box representing the smallest rectangle that fully encloses the ShapeObject object.
(Inherited from ShapeObject.)
Public propertyBrush
A brush currently in use by the ShapeObject object to draw itself.
(Inherited from ShapeObject.)
Public propertyOrigin
A point representing the origin of this DrawObject object in canvas coordinates.
(Inherited from DrawObject.)
Public propertyPen
A pen currently in use by the ShapeObject object to draw itself.
(Inherited from ShapeObject.)
Public propertyRasterOperation
A constant, indicating the raster operation in use for this DrawObject object:
(Inherited from DrawObject.)
Public propertySize
A dimension representing the current size of the ShapeObject object, in canvas coordinates.
(Inherited from ShapeObject.)
Top
Methods
  NameDescription
Public methodDraw
Draw this EllipseObject object.
(Overrides Draw.)
Public methodHandle
Return the handle for a DrawObject object.
(Inherited from DrawObject.)
Public methodHitTest
Determine if a given point lies within the bounding box of a DrawObject object.
(Inherited from DrawObject.)
Top
Fields
  NameDescription
Public fieldoCargo
Cargo slot.
(Inherited from VObject.)
Top
Examples
To draw an EllipseObject object, call Window:Draw() with the EllipseObject object as its argument. The window does the drawing by asking each object to draw itself—for example:
X#
1METHOD Expose(oEvent) CLASS MyWindow
2LOCAL oEllipse AS OBJECT
3oEllipse := EllipseObject{Point{10,10},;
4Dimension{20,40}}
5SELF:Draw(oEllipse)
See Also

Reference