Click or drag to resize
RectExtensions Methods

The RectExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAroundPoint
Around the point.
Public methodStatic memberBottomLeft(Rect)
Returns the bottom-left point of the rectangle.
Public methodStatic memberBottomLeft(Rect, Double, Point, Point)
Returns the bottom left point.
Public methodStatic memberBottomLeft(Rect, Point, Double, Point)
Returns the rotated bottom left point.
Public methodStatic memberBottomRight(Rect)
Returns the bottom-right corner of the rectangle.
Public methodStatic memberBottomRight(Rect, Double, Point, Point)
Returns the bottoms right point.
Public methodStatic memberBottomRight(Rect, Point, Double, Point)
Returns the rotated bottom right point.
Public methodStatic memberCenter(Rect)
Returns the center of the specified rectangle.
Public methodStatic memberCenter(Rect, Double, Point)
Returns the rotated center point.
Public methodStatic memberCenter(Rect, Point, Double)
Returns the rotated center point.
Public methodStatic memberCenterBottom(Rect)
Returns the bottom center point.
Public methodStatic memberCenterBottom(Rect, Double, Point)
Centers the bottom.
Public methodStatic memberCenterLeft(Rect)
Centers the left.
Public methodStatic memberCenterLeft(Rect, Double, Point)
Returns the rotated left center point.
Public methodStatic memberCenterRight(Rect)
Centers the right.
Public methodStatic memberCenterRight(Rect, Double, Point)
Centers the right.
Public methodStatic memberCenterTop(Rect)
Centers the top.
Public methodStatic memberCenterTop(Rect, Double, Point, Point)
Returns the rotated top center point.
Public methodStatic memberCenterTop(Rect, Point, Double, Point)
Returns the rotated top center point.
Public methodStatic memberCenterX
Returns the X coordinate of the centers.
Public methodStatic memberCenterY
Returns the Y coordinate of the center.
Public methodStatic memberContains(Rect, Rect)
Determines whether the specified rect1 contains the rect2 parameter.
Public methodStatic memberContains(Rect, Point, Double)
Determines whether [contains] [the specified rect].
Public methodStatic memberContains(Rect, Point, Point, Double)
Determines whether [contains] [the specified rectangle].
Public methodStatic memberInflateRect(Rect, Double)
Inflates the given rectangle with the specified amount.
Public methodStatic memberInflateRect(Rect, Size)
Inflates the specified rectangle.
Public methodStatic memberInflateRect(Rect, Double, Double)
Inflates the given rectangle with the specified amount.
Public methodStatic memberInflateRect(Rect, Double, Double, Double, Double)
Inflates the specified rectangle.
Public methodStatic memberIntersectionPoint
Calculate the intersection point between an ellipse and a line segment.
Public methodStatic memberIntersectsLine
Returns whether the polyline intersects the rectangle.
Public methodStatic memberIntersectsLineAtIndex
Returns the index in the list at which the given points intersects the polyline.
Public methodStatic memberIntersectsLineSegment
Intersects the line segment.
Public methodStatic memberIntersectsWith(Rect, Rect)
Returns whether the given rectangle intersects the current one.
Public methodStatic memberIntersectsWith(Rect, Rect, Double)
Intersects with.
Public methodStatic memberIntersectsWith(Rect, Point, Rect, Double)
Determines whether the start bounds intersect with the given rectangle.
Public methodStatic memberIsBigger
Determines whether the specified rectangle is bigger.
Public methodStatic memberIsInBounds
Gets whether the rectangle is fully in bounds of the hosting rectangle.
Public methodStatic memberIsNotZero
Determines whether the specified rect is zero - does not have size.
Public methodStatic memberIsValidBounds
Determines whether the bounds are valid.
Public methodStatic memberOffsetRect(Rect, Vector)
Offsets the specified rectangle.
Public methodStatic memberOffsetRect(Rect, Double, Double)
Offsets the current rectangle with the specified values.
Public methodStatic memberPivot
Calculates the pivot point of the specified rectangle.
Public methodStatic memberRelativePoint
Gets the relative point against the rectangle by offset.
Public methodStatic memberRotate(Rect, Double, Point)
Rotates the specified rectangle.
Public methodStatic memberRotate(Rect, Point, Double)
Rotates the specified rectangle.
Public methodStatic memberRotateRect(Rect, Double, Point)
Rotates the specified rectangle.
Public methodStatic memberRotateRect(Rect, Point, Double)
Rotates the specified rect.
Public methodStatic memberRotationPoint
Rotations the point.
Public methodStatic memberShrink
Shrinks the specified rectangle.
Public methodStatic memberTopLeft(Rect)
Returns the top-left point of the rectangle.
Public methodStatic memberTopLeft(Rect, Double, Point, Point)
Returns the top left point.
Public methodStatic memberTopLeft(Rect, Point, Double, Point)
Returns the rotated top left point.
Public methodStatic memberTopRight(Rect)
Returns the top-right point of the rectangle.
Public methodStatic memberTopRight(Rect, Double, Point, Point)
Returns the top right point.
Public methodStatic memberTopRight(Rect, Point, Double, Point)
Returns the rotated top right point.
Public methodStatic memberToSize
Toes the size.
Top
See Also