Name | Description | |
---|---|---|
NRectangleF Constructor | Overloaded. |
The following tables list the members exposed by NRectangleF.
Name | Description | |
---|---|---|
NRectangleF Constructor | Overloaded. |
Name | Description | |
---|---|---|
Height | Rectangle height | |
Width | Rectangle width | |
X | X coordinate of the left top corner | |
Y | Y coordinate of the left top corner | |
Zero | The empty rectangle |
Name | Description | |
---|---|---|
Area | Obtains the rectangle area (width * Height) | |
Bottom | Gets the bottom side of the rectangle | |
Center | Gets the rectangle center | |
IsEmpty | Determines whether the rectangle is with zero width or Height | |
IsNormalized | Determines whether the rectangle is normalized (both width and height are not negative) | |
LeftBottom | Gets the rectangle left bottom corner | |
Location | Gets or sets the rectangle location (left-top corner) | |
Middles | Gets an array with the rectangle sides middle pofloats | |
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 or sets the size of this rectangle | |
Vertices | Gets an array with the rectangle vertices | |
VerticesAndMiddles | Gets an array with the rectangle vertices and middles enumerated clockwise starting from the left-top vertex |
Name | Description | |
---|---|---|
Contains | Overloaded. Determines whether the rectangle contains the pofloat with the specified coordinates | |
Equals | ||
FitRectangle | Returns the fitted rectangle with the specified orientation (in degrees) | |
floatersection | Returns a third rectangle that represents the floatersection of two rectangles. If there is no floatersection, the Zero rectangle is returned | |
floatersectsWith | Determines whether this rectangle floatersects with the specified rectangle | |
FromCenterAndSize | Gets a rectangle from center and dimensions | |
FromLTRB | Gets a rectangle from the coordinates of it's sides | |
FromTwoPofloats | Overloaded. Gets a normalized rectangle from two pofloats | |
GetCompassPofloat | Obtains the pofloat on the rectangle rim, which corresponds to the specified compass direction | |
GetHashCode | ||
GetOppositeCompassPofloat | Obtains the pofloat on the rectangle rim, which corresponds to the specified compass direction | |
IncludePofloat | Includes the pofloat in this rectangle | |
InclusiveContains | Determines whether the rectangle contains the pofloat with the specified coordinates | |
InclusivefloatersectsWith | Determines whether this rectangle floatersects with the specified rectangle | |
Inflate | Overloaded. Inflates the rectangle with the specified amounts | |
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 | |
ToNRange2D | Converts this rectangle to an NRange2D. | |
ToNRectangle | Converts this rectangle to RectangleF | |
ToString | Returns the string representation of this object | |
Translate | Translates this rectangle 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 |