Name | Description | |
---|---|---|
NRectangleD Constructor | Overloaded. |
The following tables list the members exposed by NRectangleD.
Name | Description | |
---|---|---|
NRectangleD Constructor | Overloaded. |
Name | Description | |
---|---|---|
Empty | The empty rectangle | |
Height | Rectangle height | |
Width | Rectangle width | |
X | X coordinate of the left top corner | |
Y | Y coordinate of the left top corner |
Name | Description | |
---|---|---|
Bounds | Gets the minimal enclosing rectangle | |
BoundsRange | Gets the minimal enclosing 2D range | |
IsFlat | Determines whether this is a flat primitive |
Name | Description | |
---|---|---|
AddToGraphicsPath | Appends the primitive to the specified graphics path | |
AreaIntersectsWith | Determines whether the area of this rectangle intersects with the area of the specified circle | |
Contains | Overloaded. Determines whether the rectangle contains the specified point | |
ContainsOnOutline | Overloaded. Determines whether the outline of the rectangle contains the specified point | |
Equals | ||
FitRectangle | Returns the fitted rectangle with the specified orientation (in degrees) | |
FromCenterAndSize | Gets a rectangle from center and dimensions | |
FromLTRB | Gets a rectangle from the coordinates of it's sides | |
FromTwoPoints | Overloaded. Gets a normalized rectangle from two points | |
GetCompassPoint | Obtains the point on the rectangle rim, which corresponds to the specified compass direction | |
GetHashCode | ||
GetOppositeCompassPoint | Obtains the point on the rectangle rim, which corresponds to the specified compass direction | |
IncludePoint | Includes the point in this rectangle | |
InclusiveContains | Determines whether the rectangle contains the point with the specified coordinates | |
InclusiveIntersectsWith | Determines whether this rectangle intersects with the specified rectangle | |
Inflate | Overloaded. Inflates the rectangle with the specified amounts | |
Intersection | Returns a third rectangle that represents the intersection of two rectangles. If there is no intersection, the Empty rectangle is returned | |
IntersectsWith | Overloaded. Determines whether this rectangle intersects with the specified rectangle | |
IntersectWith | Intersects this rectangle with the specified line segment | |
IntersectWithRadianLine | Intersects this rectangle with a line connecting the rectangle center and the specified point | |
IntersectWithRadianRay | Intersects this rectangle with the ray from the bounds central point | |
Normalize | Normalizes this rectangle | |
Offset | Offsets the rectangle with the specified x and y amount. | |
ResizeRectangle | Computes a new rect for an expected resize of a rectangle in the specified compass direction | |
Scale | Scales the rectangle with the specified factors | |
ToNRange2DF | Converts this rectangle to NRange2DF | |
ToNRectangleF | Converts this rectangle to RectangleF | |
ToRectangle | Converts this rectangle to Rectangle | |
ToRectangleF | Converts this rectangle to RectangleF | |
ToString | Returns the string representation of this object | |
Translate | Overloaded. Translates the primitive with the specified amounts | |
Union | Creates the smallest possible third rectangle that can contain the two rectangles that form a union |
Equality | Determines whether a is equal to b |
Inequality | Determines whether a is not equal to b |