RectD Structure

CVB.Net Documentation
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

public struct RectD : IAreaOfInterest

The RectD type exposes the following members.

Constructors

  NameDescription
Public methodRectD(Point2Dd, Size2Dd)
Constructs a RectD structure.
Public methodRectD(Double, Double, Double, Double)
Construct a RectD structure.
Top
Properties

  NameDescription
Public propertyArea
Area of the rectangle.
Public propertyCoordinateSystem
Indicates the coordinate system in which this object is being measured (when used as an area of interest).
Public propertyHeight
Height of the rectangle.
Public propertyIsEmpty
True if width and height are both zero, false otherwise.
Public propertyLocation
Location of the top left corner of the rectangle.
Public propertyWidth
Width of the rectangle.
Top
Methods

  NameDescription
Public methodContains(Point2Dd)
Check if a point is located inside this RectD.
Public methodContains(Double, Double)
Determines if the specified point is contained with this RectD.
Public methodEquals
Tests whether obj is a RectD structure with the same location and size of this RectD structure.
(Overrides ValueTypeEquals(Object).)
Public methodStatic memberFromLTRB
Creates a RectD structure with the specified edge locations.
Public methodGetHashCode
Returns the hash code for this Rectangle
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntersect(RectD)
Replaces this rectangle with the intersection of itself and the specified rectangle.
Public methodStatic memberIntersect(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.
Public methodIntersectsWith
Test if this rectangle intersects with rect.
Public methodToString
String conversion.
(Overrides ValueTypeToString.)
Public methodStatic memberUnion
Gets a RectD structure that contains the union of two RectD structures.
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Comparison operator for RectD structures.
Public operatorStatic member(Rect to RectD)
Implicit conversion from Rect to RectD.
Public operatorStatic memberInequality
Comparison operator for RectD structures.
Top
Fields

  NameDescription
Public fieldBottom
Bottom edge of the rectangle.
Public fieldStatic memberEmpty
Null-element.
Public fieldLeft
Left edge of the rectangle.
Public fieldRight
Right edge of the rectangle.
Public fieldTop
Top edge of the rectangle.
Top
Extension Methods

  NameDescription
Public Extension MethodContains
Check if a point is located inside this Rect.
(Defined by RectExtensions.)
Public Extension MethodToWindowsRect
Creates a Rect from this rectangle.
(Defined by RectExtensions.)
Top
See Also

Reference