NevronOpenVision
Nevron.Nov.Graphics Namespace / NRectangle Structure


NRectangle Structure Methods

For a list of all members of this type, see NRectangle members.

Public Methods
 NameDescription
Public MethodAppends the primitive to the specified graphics path  
Public MethodOverloaded. Determines whether the rectangle contains the specified point  
Public MethodDetermines whether the outline of the rectangle contains the specified point  
Public MethodOverloaded. Deflates the rectangle with the specified amount  
Public MethodDeserializes the object state from the specified property bag.  
Public MethodCalculates the distance of the specified point to this rectangle. Returns 0 if the point is inside the rectangle.  
Public MethodOverloaded. Checks whether this size is equal to the other size  
Public Methodstatic (Shared in Visual Basic)Returns the fitted rectangle with the specified orientation (in degrees)  
Public Methodstatic (Shared in Visual Basic)Overloaded. Gets a rectangle from center and dimensions  
Public Methodstatic (Shared in Visual Basic)Gets a rectangle from the coordinates of it's sides  
Public Methodstatic (Shared in Visual Basic)Overloaded. Gets a normalized rectangle from two points  
Public MethodOverloaded. Obtains the point on the rectangle rim, which corresponds to the specified alignment  
Public MethodGets a rectangle which is aligned to this rectangle according to the specified content alignment. If clip is true and the provided size is larger than the specified size, the returned rectangle size is clampted to this rectangle size.  
Public MethodObtains the point on the rectangle rim, which corresponds to the specified compass direction  
Public Method  
Public MethodObtains the point on the rectangle rim, which is oppisite to the point which corresponds to the specified compass direction  
Public MethodGets the rectangle perimeter  
Public MethodOverloaded. Determines whether the rectangle contains the point  
Public MethodDetermines whether this rectangle intersects with the specified rectangle  
Public MethodOverloaded. Inflates the rectangle with the specified amount.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Returns a third rectangle that represents the intersection of two rectangles. If there is no intersection, the Zero rectangle is returned.  
Public MethodComputes the intersection area of this rect with the specified rect  
Public MethodOverloaded. Determines whether this rectangle intersects with the specified rectangle  
Public MethodIntersects this rectangle with the specified line segment  
Public MethodIntersects this rectangle with a line connecting the rectangle center and the specified point  
Public Methodstatic (Shared in Visual Basic)Gets the middle rectangle from two other rects.  
Public MethodMakes sure that the Width and Height are positive values. If either is negative the X/Y respectively is subtracted with the Width/Height and the Width/Height is set to its absolute positive value.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Computes a new rect for an expected resize of a rectangle in the specified compass direction. Does not allow the newly created rect size to exceed the specified minSize.  
Public MethodRounds this rectangle.  
Public MethodScales the rectangle with the specified factors  
Public MethodSerializes the object state into the specified property bag.  
Public MethodConverts this rectangle to an NRange2D.  
Public MethodReturns the string representation of this object  
Public MethodTranslates the primitive with the specified amounts  
Public Methodstatic (Shared in Visual Basic)Overloaded. Creates the smallest possible rectangle that can contain the specified rectangles  
Top
Protected Methods
 NameDescription
Internal Method  
Internal Method  
Internal Method  
Internal Method  
Internal Method  
Internal Method  
Internal Methodstatic (Shared in Visual Basic)  
Internal Methodstatic (Shared in Visual Basic)  
Internal Method  
Top
See Also