BoundingBox Class (Typed) |
Namespace: XSharp.VO.SDK
The BoundingBox type exposes the following members.
Name | Description | |
---|---|---|
BoundingBox |
Construct a bounding box.
| |
BoundingBox(Usual, Usual) |
Construct a bounding box.
| |
BoundingBox(Point, Dimension) |
Construct a bounding box.
| |
BoundingBox(Point, Point) |
Construct a bounding box.
|
Name | Description | |
---|---|---|
Bottom |
A numeric value representing the Y coordinate of the bottom side of a bounding box, in canvas coordinates.
| |
Height |
A numeric value representing the height of the bounding box, measured in canvas coordinates.
| |
Left |
A numeric value representing the X coordinate of the left side of a bounding box, in canvas coordinates.
| |
Origin |
A point representing the location of a bounding box, in canvas coordinates.
| |
Right |
A numeric value representing the X coordinate of the right side of a bounding box, in canvas coordinates.
| |
Top |
A numeric value representing the Y coordinate of the top side of a bounding box, in canvas coordinates.
| |
Width |
A numeric value representing the width of the bounding box, in canvas coordinates.
|
Name | Description | |
---|---|---|
Clone | ||
ConvertToScreen(IntPtr) |
Convert a bounding box to screen coordinates for a given window.
| |
ConvertToScreen(Object) |
Convert a bounding box to screen coordinates for a given window.
| |
Destroy | Free memory resources allocated for a VObject object and its derived objects. (Inherited from VObject.) | |
Normalize | ||
PointInside |
Test whether a given point is within the bounds of a bounding box.
| |
Union_ |
Return a new bounding box that represents the minimum area required to contain both this bounding box and the bounding box specified by oBoundingBox.
|
Name | Description | |
---|---|---|
(Rectangle to BoundingBox) |
Implicit operator to convert System.Drawing.Rectangle to BoundingBox
| |
(BoundingBox to Rectangle) |
Implicit operator to convert BoundingBox to System.Drawing.Rectangle
|
Tip |
---|
A bounding box has no graphical representation—it is just four numbers encapsulated in a class. |
1LOCAL oBB := oEllipse:BoundingBox()