The RectangleD type exposes the following members.
Methods
Name | Description | |
---|---|---|
Contains(PointD) |
Tests whether the specified point is contained within the current RectangleD.
|
|
Contains(RectangleD) |
Tests whether the specified rectangle is entirely contained within the current RectangleD.
|
|
Contains(Double, Double) |
Tests whether a point specified by its coordinates is contained within the current RectangleD.
|
|
Equals |
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.) |
|
FromLTRB |
Creates a RectangleD structure based on the coordinates
of its top-left and bottom-right corners.
|
|
GetHashCode |
Returns the hash code for this instance.
(Inherited from ValueType.) |
|
Inflate(SizeD) |
Inflates the current RectangleD by a specified SizeD.
|
|
Inflate(Double, Double) |
Inflates the current RectangleD by specified horizontal and vertical amounts.
|
|
Inflate(RectangleD, Double, Double) |
Creates a new RectangleD structure from another RectangleD,
inflated by the specified amounts vertically and horizontally.
|
|
Inflate(Double, Double, Double, Double) |
Inflates the current RectangleD by the specified amounts on four sides.
|
|
Intersect(RectangleD) |
Replaces the current RectangleD structure with the intersection
of itself and another RectangleD.
|
|
Intersect(RectangleD, RectangleD) |
Creates a new RectangleD structure representing the intersection
of two RectangleD structures.
(The intersection may be empty, in which case Empty is returned.)
|
|
IntersectsWith |
Tests whether the current RectangleD intersects with another.
|
|
Offset(PointD) |
Offsets the location of the current RectangleD by horizontal and vertical amounts specified by a PointD.
|
|
Offset(Double, Double) |
Offsets the location of the current RectangleD by specified horizontal and vertical amounts.
|
|
Parse |
Converts a string to a RectangleD structure.
|
|
ToRectangle |
Converts the current RectangleD to a Rectangle.
|
|
ToRectangleF |
Converts the current RectangleD to a RectangleF.
|
|
ToString |
Converts the current RectangleD structure to a human-readable string representing it.
(Overrides ValueType..::..ToString()()()().) |
|
Union |
Creates a new RectangleD structure representing the smallest possible
rectangle containing the two specified rectangles.
|