﻿ NRectangle Structure Members
Nevron .NET Vision
Nevron.GraphicsCore Namespace / NRectangle Structure
Fields Properties Methods

In This Topic
NRectangle Structure Members
In This Topic

The following tables list the members exposed by NRectangle.

Public Constructors
NameDescription
Top
Public Fields
NameDescription
The empty rectangle
Rectangle height
Rectangle width
X coordinate of the left top corner
Y coordinate of the left top corner
Top
Public Properties
NameDescription
Gets the minimal enclosing rectangle
Gets the minimal enclosing 2D range
Determines whether this is a flat primitive
Top
Public Methods
NameDescription
Appends the primitive to the specified graphics path
Determines whether the area of this rectangle intersects with the area of the specified circle
Overloaded. Determines whether the rectangle contains the specified point
Overloaded. Determines whether the outline of the rectangle contains the specified point

Returns the fitted rectangle with the specified orientation (in degrees)
Gets a rectangle from center and dimensions
Gets a rectangle from the coordinates of it's sides
Overloaded. Gets a normalized rectangle from two points
Obtains the point on the rectangle rim, which corresponds to the specified compass direction

Obtains the point on the rectangle rim, which corresponds to the specified compass direction
Includes the point in this rectangle
Determines whether the rectangle contains the point with the specified coordinates
Determines whether this rectangle intersects with the specified rectangle
Overloaded. Inflates the rectangle with the specified amounts
Returns a third rectangle that represents the intersection of two rectangles. If there is no intersection, the Empty rectangle is returned
Overloaded. Determines whether this rectangle intersects with the specified rectangle
Intersects this rectangle with the specified line segment
Intersects this rectangle with a line connecting the rectangle center and the specified point
Intersects this rectangle with the ray from the bounds central point
Normalizes this rectangle
Offsets the rectangle with the specified x and y amount.
Computes a new rect for an expected resize of a rectangle in the specified compass direction
Scales the rectangle with the specified factors
Converts this rectangle to NRange2DF
Converts this rectangle to RectangleF
Converts this rectangle to Rectangle
Converts this rectangle to RectangleF
Returns the string representation of this object
Overloaded. Translates the primitive with the specified amounts
Creates the smallest possible third rectangle that can contain the two rectangles that form a union
Top
Public Operators
 Equality Determines whether a is equal to b Inequality Determines whether a is not equal to b
Top