Corresponds in intention and use with the type RectD,
although RectD is far more widely used.
Namespace: Stemmer.Cvb
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
The RectD type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RectD(Point2Dd, Size2Dd) |
Constructs a RectD structure.
| |
RectD(Double, Double, Double, Double) |
Construct a RectD structure.
|
Properties
Name | Description | |
---|---|---|
Area |
Area of the rectangle.
| |
CoordinateSystem |
Indicates the coordinate system in which this object is being measured
(when used as an area of interest).
| |
Height |
Height of the rectangle.
| |
IsEmpty |
True if width and height are both zero, false otherwise.
| |
Location |
Location of the top left corner of the rectangle.
| |
Width |
Width of the rectangle.
|
Methods
Name | Description | |
---|---|---|
Contains(Point2Dd) |
Check if a point is located inside this RectD.
| |
Contains(Double, Double) |
Determines if the specified point is contained with this
RectD.
| |
Equals |
Tests whether obj is a RectD
structure with the same location and size of this RectD
structure.
(Overrides ValueTypeEquals(Object).) | |
FromLTRB |
Creates a RectD structure with the specified edge
locations.
| |
GetHashCode |
Returns the hash code for this Rectangle
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Intersect(RectD) |
Replaces this rectangle with the intersection of itself and the
specified rectangle.
| |
Intersect(RectD, RectD) |
Returns a RectD structure that represents the
intersection of the two input rectangles. If there is no intersection,
an empty RectD is returned.
| |
IntersectsWith |
Test if this rectangle intersects with rect.
| |
ToString |
String conversion.
(Overrides ValueTypeToString.) | |
Union |
Gets a RectD structure that contains the union of two
RectD structures.
|
Operators
Name | Description | |
---|---|---|
Equality |
Comparison operator for RectD structures.
| |
(Rect to RectD) |
Implicit conversion from Rect to RectD.
| |
Inequality |
Comparison operator for RectD structures.
|
Fields
Name | Description | |
---|---|---|
Bottom |
Bottom edge of the rectangle.
| |
Empty |
Null-element.
| |
Left |
Left edge of the rectangle.
| |
Right |
Right edge of the rectangle.
| |
Top |
Top edge of the rectangle.
|
Extension Methods
Name | Description | |
---|---|---|
Contains |
Check if a point is located inside this Rect.
(Defined by RectExtensions.) | |
ToWindowsRect |
Creates a Rect from this rectangle.
(Defined by RectExtensions.) |
See Also