The VectorRectangle type exposes the following members.

Properties

  NameDescription
Area
Gets the area of the current VectorRectangle object.
Bottom
Gets Y coordinate of the bottom side of the rectangle.
BottomCenter
Gets location of the center of the rectangle bottom side.
BottomLeft
Gets location of the bottom left corner of the rectangle.
BottomRight
Gets location of the bottom right corner of the rectangle.
Center
Gets location of the center of the rectangle.
CenterX
Gets X coordinate of the center of the rectangle.
CenterY
Gets Y coordinate of the center of the rectangle.
Empty
Returns the "null" rectangle.
Height
Gets or sets the height of the rectangle.
IsEmpty
Gets if width and height of the current VectorRectangle are zeros.
Left
Gets X coordinate of the left side of the rectangle.
LeftCenter
Gets location of the center of the rectangle left side.
Location
Gets or sets the location of the rectangle (the top left corner).
Right
Gets X coordinate of the right side of the rectangle.
RightCenter
Gets location of the center of the rectangle right side.
Size
Gets or sets the size of the rectangle.
Top
Gets Y coordinate of the top side of the rectangle.
TopCenter
Gets location of the center of the rectangle top side.
TopLeft
Gets location of the top left corner of the rectangle.
TopRight
Gets location of the top right corner of the rectangle.
Width
Gets or sets the width of the rectangle.
X
Gets or sets X coordinate of the top left corner of the rectangle.
Y
Gets or sets Y coordinate of the top left corner of the rectangle.

See Also