Click or drag to resize

ShapeObject Class

X#
Provide an intermediate class from which all X# two-dimensional objects are subclassed.
Inheritance Hierarchy
Object
  VObject
    DrawObject
      ShapeObject
        BitmapObject
        EllipseObject
        PieObject
        RectangleObject

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

The ShapeObject type exposes the following members.

Constructors
  NameDescription
Public methodShapeObject
Construct a ShapeObject object.
Top
Properties
  NameDescription
Public propertyBoundingBox
A bounding box representing the smallest rectangle that fully encloses the ShapeObject object.
(Overrides BoundingBox.)
Public propertyBrush
A brush currently in use by the ShapeObject object to draw itself.
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.
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.
(Overrides Size.)
Top
Methods
  NameDescription
Public methodDraw
Display a DrawObject object.
(Inherited from DrawObject.)
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
Remarks

Important! ShapeObject is an abstract class and should not be used directly—instead, use one of its subclasses, which include BitmapObject, EllipseObject, and RectangleObject.
See Also

Reference