Name | Description | |
---|---|---|
AddToPath | Appends the primitive to the specified graphics path | |
Contains | Overloaded. Determines whether the rectangle contains the specified point | |
ContainsOnOutline | Determines whether the outline of the rectangle contains the specified point | |
Deflate | Overloaded. Deflates the rectangle with the specified amount | |
Deserialize | Deserializes the object state from the specified property bag. | |
Distance | Calculates the distance of the specified point to this rectangle. Returns 0 if the point is inside the rectangle. | |
Equals | Overloaded. Checks whether this size is equal to the other size | |
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 | |
GetAlignedPoint | Overloaded. Obtains the point on the rectangle rim, which corresponds to the specified alignment | |
GetAlignedRectangle | Gets 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. | |
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 is oppisite to the point which corresponds to the specified compass direction | |
GetOutlineLength | Gets the rectangle perimeter | |
InclusiveContains | Overloaded. Determines whether the rectangle contains the point | |
InclusiveIntersectsWith | Determines whether this rectangle intersects with the specified rectangle | |
Inflate | Overloaded. Inflates the rectangle with the specified amount. | |
Intersection | Overloaded. Returns a third rectangle that represents the intersection of two rectangles. If there is no intersection, the Zero 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 | |
MiddleRect | Gets the middle rectangle from two other rects. | |
Normalize | Makes 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. | |
ResizeRectangle | 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. | |
Round | Rounds this rectangle. | |
Scale | Scales the rectangle with the specified factors | |
Serialize | Serializes the object state into the specified property bag. | |
ToNRange2D | Converts this rectangle to an NRange2D. | |
ToString | Returns the string representation of this object | |
Translate | Translates the primitive with the specified amounts | |
Union | Overloaded. Creates the smallest possible rectangle that can contain the specified rectangles |