The VectorRectangle type exposes the following members.

Constructors

  NameDescription
VectorRectangleOverloaded.

Methods

  NameDescription
Contains
Returns whether the current VectorRectangle contains the specified point.
ConvertUnits
Converts the vector from one specified measure units to another.
Divide
Implements division by given scalar value.
Equals
Overridden. See Equals(Object).
(Overrides ValueType..::.Equals(Object).)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetDistance
Returns the distance between the current VectorRectangle object and the given point.
GetHashCode
Overridden. See GetHashCode()()().
(Overrides ValueType..::.GetHashCode()()().)
GetPositiveRectangle
Returns a new VectorRectangle instance with the geometry identical to the current instance and with positive width and height values.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Intersect
Returns a new VectorRectangle instance that is an intersection of the two specified VectorRectangle objects.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Multiply
Implements multiplication by given scalar value.
Quant
Aligns the current VectorRectangle instance using the specified grid steps.
QuantX
Aligns the current VectorRectangle instance horizontally using the specified grid x-step.
QuantY
Aligns the current VectorRectangle instance vertically using the specified grid y-step.
ToString
Overridden. See ToString()()().
(Overrides ValueType..::.ToString()()().)

Operators

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