Click or drag to resize
Rect Methods

The Rect type exposes the following members.

Methods
  NameDescription
Public methodContains(Point)
Public methodContains(Rect)
Public methodContains(Double, Double)
Public methodEquals(Object) (Overrides ValueTypeEquals(Object).)
Public methodEquals(Rect)
Public methodStatic memberEquals(Rect, Rect)
Public methodGetHashCode (Overrides ValueTypeGetHashCode.)
Public methodInflate(Size)
Public methodInflate(Double, Double)
Public methodStatic memberInflate(Rect, Size)
Public methodStatic memberInflate(Rect, Double, Double)
Public methodIntersect(Rect)
Public methodStatic memberIntersect(Rect, Rect)
Public methodIntersectsWith
Public methodOffset(Vector)
Public methodOffset(Double, Double)
Public methodStatic memberOffset(Rect, Vector)
Public methodStatic memberOffset(Rect, Double, Double)
Public methodStatic memberParse
Public methodScale
Public methodUnion(Point)
Public methodUnion(Rect)
Public methodStatic memberUnion(Rect, Point)
Public methodStatic memberUnion(Rect, Rect)
Top
Extension Methods
  NameDescription
Public Extension MethodApproximateEllipse
Approximates the ellipse defined by the given bounds.
(Defined by Utils.)
Public Extension MethodBottomLeftOverloaded.
Returns the bottom-left point of the rectangle.
(Defined by RectExtensions.)
Public Extension MethodBottomLeft(Double, Point, Point)Overloaded.
Returns the bottom left point.
(Defined by RectExtensions.)
Public Extension MethodBottomLeft(Point, Double, Point)Overloaded.
Returns the rotated bottom left point.
(Defined by RectExtensions.)
Public Extension MethodBottomRightOverloaded.
Returns the bottom-right corner of the rectangle.
(Defined by RectExtensions.)
Public Extension MethodBottomRight(Double, Point, Point)Overloaded.
Returns the bottoms right point.
(Defined by RectExtensions.)
Public Extension MethodBottomRight(Point, Double, Point)Overloaded.
Returns the rotated bottom right point.
(Defined by RectExtensions.)
Public Extension MethodCenterOverloaded.
Returns the center of the specified rectangle.
(Defined by RectExtensions.)
Public Extension MethodCenter(Double, Point)Overloaded.
Returns the rotated center point.
(Defined by RectExtensions.)
Public Extension MethodCenter(Point, Double)Overloaded.
Returns the rotated center point.
(Defined by RectExtensions.)
Public Extension MethodCenterBottomOverloaded.
Returns the bottom center point.
(Defined by RectExtensions.)
Public Extension MethodCenterBottom(Double, Point)Overloaded.
Centers the bottom.
(Defined by RectExtensions.)
Public Extension MethodCenterLeftOverloaded.
Centers the left.
(Defined by RectExtensions.)
Public Extension MethodCenterLeft(Double, Point)Overloaded.
Returns the rotated left center point.
(Defined by RectExtensions.)
Public Extension MethodCenterRightOverloaded.
Centers the right.
(Defined by RectExtensions.)
Public Extension MethodCenterRight(Double, Point)Overloaded.
Centers the right.
(Defined by RectExtensions.)
Public Extension MethodCenterTopOverloaded.
Centers the top.
(Defined by RectExtensions.)
Public Extension MethodCenterTop(Double, Point, Point)Overloaded.
Returns the rotated top center point.
(Defined by RectExtensions.)
Public Extension MethodCenterTop(Point, Double, Point)Overloaded.
Returns the rotated top center point.
(Defined by RectExtensions.)
Public Extension MethodCenterX
Returns the X coordinate of the centers.
(Defined by RectExtensions.)
Public Extension MethodCenterY
Returns the Y coordinate of the center.
(Defined by RectExtensions.)
Public Extension MethodContains(Rect)Overloaded.
Determines whether the specified rect1 contains the rect2 parameter.
(Defined by RectExtensions.)
Public Extension MethodContains(Point, Double)Overloaded.
Determines whether [contains] [the specified rect].
(Defined by RectExtensions.)
Public Extension MethodContains(Point, Point, Double)Overloaded.
Determines whether [contains] [the specified rectangle].
(Defined by RectExtensions.)
Public Extension MethodFindIntersectionPoint
Finds the intersection point of a shape and the line segment defined by the point segmentStart and segmentEnd.
(Defined by Utils.)
Public Extension MethodGetEllipsePointAtAngle
Returns the point at an angle on the ellipse defined by the specified rectangle.
(Defined by Utils.)
Public Extension MethodInflateRect(Double)Overloaded.
Inflates the given rectangle with the specified amount.
(Defined by RectExtensions.)
Public Extension MethodInflateRect(Size)Overloaded.
Inflates the specified rectangle.
(Defined by RectExtensions.)
Public Extension MethodInflateRect(Double, Double)Overloaded.
Inflates the given rectangle with the specified amount.
(Defined by RectExtensions.)
Public Extension MethodInflateRect(Double, Double, Double, Double)Overloaded.
Inflates the specified rectangle.
(Defined by RectExtensions.)
Public Extension MethodIntersectionPoint
Calculate the intersection point between an ellipse and a line segment.
(Defined by RectExtensions.)
Public Extension MethodIntersectsLine
Returns whether the polyline intersects the rectangle.
(Defined by RectExtensions.)
Public Extension MethodIntersectsLineAtIndex
Returns the index in the list at which the given points intersects the polyline.
(Defined by RectExtensions.)
Public Extension MethodIntersectsLineSegment
Intersects the line segment.
(Defined by RectExtensions.)
Public Extension MethodIntersectsWith(Rect)Overloaded.
Returns whether the given rectangle intersects the current one.
(Defined by RectExtensions.)
Public Extension MethodIntersectsWith(Rect, Double)Overloaded.
Intersects with.
(Defined by RectExtensions.)
Public Extension MethodIntersectsWith(Point, Rect, Double)Overloaded.
Determines whether the start bounds intersect with the given rectangle.
(Defined by RectExtensions.)
Public Extension MethodIsBigger
Determines whether the specified rectangle is bigger.
(Defined by RectExtensions.)
Public Extension MethodIsInBounds
Gets whether the rectangle is fully in bounds of the hosting rectangle.
(Defined by RectExtensions.)
Public Extension MethodIsNotZero
Determines whether the specified rect is zero - does not have size.
(Defined by RectExtensions.)
Public Extension MethodIsValidBounds
Determines whether the bounds are valid.
(Defined by RectExtensions.)
Public Extension MethodOffsetRect(Vector)Overloaded.
Offsets the specified rectangle.
(Defined by RectExtensions.)
Public Extension MethodOffsetRect(Double, Double)Overloaded.
Offsets the current rectangle with the specified values.
(Defined by RectExtensions.)
Public Extension MethodPivot
Calculates the pivot point of the specified rectangle.
(Defined by RectExtensions.)
Public Extension MethodPosition
Returns the position of the given rectangle.
(Defined by GraphExtensions.)
Public Extension MethodRelativePoint
Gets the relative point against the rectangle by offset.
(Defined by RectExtensions.)
Public Extension MethodRotate(Double, Point)Overloaded.
Rotates the specified rectangle.
(Defined by RectExtensions.)
Public Extension MethodRotate(Point, Double)Overloaded.
Rotates the specified rectangle.
(Defined by RectExtensions.)
Public Extension MethodRotateRect(Double, Point)Overloaded.
Rotates the specified rectangle.
(Defined by RectExtensions.)
Public Extension MethodRotateRect(Point, Double)Overloaded.
Rotates the specified rect.
(Defined by RectExtensions.)
Public Extension MethodRotationPoint
Rotations the point.
(Defined by RectExtensions.)
Public Extension MethodShrink
Shrinks the specified rectangle.
(Defined by RectExtensions.)
Public Extension MethodTopLeftOverloaded.
Returns the top-left point of the rectangle.
(Defined by RectExtensions.)
Public Extension MethodTopLeft(Double, Point, Point)Overloaded.
Returns the top left point.
(Defined by RectExtensions.)
Public Extension MethodTopLeft(Point, Double, Point)Overloaded.
Returns the rotated top left point.
(Defined by RectExtensions.)
Public Extension MethodTopRightOverloaded.
Returns the top-right point of the rectangle.
(Defined by RectExtensions.)
Public Extension MethodTopRight(Double, Point, Point)Overloaded.
Returns the top right point.
(Defined by RectExtensions.)
Public Extension MethodTopRight(Point, Double, Point)Overloaded.
Returns the rotated top right point.
(Defined by RectExtensions.)
Public Extension MethodToSize
Toes the size.
(Defined by RectExtensions.)
Top
See Also