Name | Description | |
---|---|---|
NRectangleF Constructor | Overloaded. |
The following tables list the members exposed by NRectangleF.
Name | Description | |
---|---|---|
NRectangleF 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 | |
---|---|---|
Area | Obtains the rectangle area (width * Height) | |
Bottom | Gets the bottom side of the rectangle | |
Bounds | Gets the minimal enclosing rectangle | |
BoundsRange | Gets the minimal enclosing 2D range | |
Center | Gets/Sets the rectangle center. | |
IsFlat | Determines whether this is a flat primitive | |
LeftBottom | Gets the rectangle left bottom corner | |
Location | Gets/sets the rectangle location (left-top corner) | |
Middles | Gets an array with the rectangle sides middle points, enumerated in a top, right, bottom and left order. | |
Perimeter | Obtains the rectangle perimeter (2 * width) + (2 * Height) | |
Right | Gets the right side of the rectangle | |
RightBottom | Gets the rectangle right bottom corner | |
RightTop | Gets the rectangle right top corner | |
Size | Gets/sets the size of this rectangle | |
Vertices | Gets an array with the rectangle vertices, enumerated in a top, right, bottom and left order. | |
VerticesAndMiddles | Gets an array with the rectangle vertices and middles enumerated clockwise starting from the left-top vertex |
Name | Description | |
---|---|---|
AddToGraphicsPath | Appends the primitive to the specified graphics path | |
AreaIntersectsWith | Determines whether this rectangle intersects with 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 | Overloaded. 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 | Overloaded. 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 | Overloaded. Returns a third rectangle that represents the intersection of two rectangles. If there is no intersection, the Empty rectangle is returned. | |
IntersectionArea | Computes the intersection area of this rect with the specified rect | |
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 | |
OutlineIntersectsWith | Determines whether this rectangle outline intersects with the passed rect | |
ResizeRectangle | Computes a new rect for an expected resize of a rectangle in the specified compass direction | |
Round | Round this rectangle | |
Scale | Scales the rectangle with the specified factors | |
ToNRange2DF | Converts this rectangle to NRange2DF | |
ToNRectangle | Converts this rectangle to Rectangle | |
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 | Overloaded. 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 |