CWIMAQRotatedRectangle
From NI Vision for Visual Basic
CWIMAQRotatedRectangle
CWIMAQRotatedRectangle contains properties that specify a rectangle. A rotated rectangle is specified by a center point, width, height, and an angle. The width and height parameters set the axes that are horizontal and vertical, respectively, when the rectangle is not rotated (Angle = 0).
Properties
| Angle | Rotation angle, in degrees, of the rectangle. |
| Center | Center point of the rectangle. |
| Height | Length of the rectangle axis that is vertical when Angle = 0. |
| Width | Length of the rectangle axis that is horizontal when Angle = 0. |
Methods
| CopyTo | Copies all of the properties from the source rotated rectangle into the destination rotated rectangle. |
| GetBoundingRectangle | Gets the bounding rectangle of the rotated rectangle. |
| Initialize | Sets all the properties of the rectangle with one method call. |