Telerik UI for WinForms

Rect Methods |

The Rect type exposes the following members.

Methods

Top

Extension Methods

Name | Description | |
---|---|---|

ApproximateEllipse |
Approximates the ellipse defined by the given bounds.
(Defined by Utils.) | |

BottomLeft | Overloaded.
Returns the bottom-left point of the rectangle.
(Defined by RectExtensions.) | |

BottomLeft(Double, Point, Point) | Overloaded.
Returns the bottom left point.
(Defined by RectExtensions.) | |

BottomLeft(Point, Double, Point) | Overloaded.
Returns the rotated bottom left point.
(Defined by RectExtensions.) | |

BottomRight | Overloaded.
Returns the bottom-right corner of the rectangle.
(Defined by RectExtensions.) | |

BottomRight(Double, Point, Point) | Overloaded.
Returns the bottoms right point.
(Defined by RectExtensions.) | |

BottomRight(Point, Double, Point) | Overloaded.
Returns the rotated bottom right point.
(Defined by RectExtensions.) | |

Center | Overloaded.
Returns the center of the specified rectangle.
(Defined by RectExtensions.) | |

Center(Double, Point) | Overloaded.
Returns the rotated center point.
(Defined by RectExtensions.) | |

Center(Point, Double) | Overloaded.
Returns the rotated center point.
(Defined by RectExtensions.) | |

CenterBottom | Overloaded.
Returns the bottom center point.
(Defined by RectExtensions.) | |

CenterBottom(Double, Point) | Overloaded.
Centers the bottom.
(Defined by RectExtensions.) | |

CenterLeft | Overloaded.
Centers the left.
(Defined by RectExtensions.) | |

CenterLeft(Double, Point) | Overloaded.
Returns the rotated left center point.
(Defined by RectExtensions.) | |

CenterRight | Overloaded.
Centers the right.
(Defined by RectExtensions.) | |

CenterRight(Double, Point) | Overloaded.
Centers the right.
(Defined by RectExtensions.) | |

CenterTop | Overloaded.
Centers the top.
(Defined by RectExtensions.) | |

CenterTop(Double, Point, Point) | Overloaded.
Returns the rotated top center point.
(Defined by RectExtensions.) | |

CenterTop(Point, Double, Point) | Overloaded.
Returns the rotated top center point.
(Defined by RectExtensions.) | |

CenterX |
Returns the X coordinate of the centers.
(Defined by RectExtensions.) | |

CenterY |
Returns the Y coordinate of the center.
(Defined by RectExtensions.) | |

Contains(Rect) | Overloaded.
Determines whether the specified rect1 contains the rect2 parameter.
(Defined by RectExtensions.) | |

Contains(Point, Double) | Overloaded.
Determines whether [contains] [the specified rect].
(Defined by RectExtensions.) | |

Contains(Point, Point, Double) | Overloaded.
Determines whether [contains] [the specified rectangle].
(Defined by RectExtensions.) | |

FindIntersectionPoint |
Finds the intersection point of a shape and the line segment defined by the point
segmentStart and segmentEnd.
(Defined by Utils.) | |

GetEllipsePointAtAngle |
Returns the point at an angle on the ellipse defined by the specified rectangle.
(Defined by Utils.) | |

InflateRect(Double) | Overloaded.
Inflates the given rectangle with the specified amount.
(Defined by RectExtensions.) | |

InflateRect(Size) | Overloaded.
Inflates the specified rectangle.
(Defined by RectExtensions.) | |

InflateRect(Double, Double) | Overloaded.
Inflates the given rectangle with the specified amount.
(Defined by RectExtensions.) | |

InflateRect(Double, Double, Double, Double) | Overloaded.
Inflates the specified rectangle.
(Defined by RectExtensions.) | |

IntersectionPoint |
Calculate the intersection point between an ellipse and a line segment.
(Defined by RectExtensions.) | |

IntersectsLine |
Returns whether the polyline intersects the rectangle.
(Defined by RectExtensions.) | |

IntersectsLineAtIndex |
Returns the index in the list at which the given points intersects the polyline.
(Defined by RectExtensions.) | |

IntersectsLineSegment |
Intersects the line segment.
(Defined by RectExtensions.) | |

IntersectsWith(Rect) | Overloaded.
Returns whether the given rectangle intersects the current one.
(Defined by RectExtensions.) | |

IntersectsWith(Rect, Double) | Overloaded.
Intersects with.
(Defined by RectExtensions.) | |

IntersectsWith(Point, Rect, Double) | Overloaded.
Determines whether the start bounds intersect with the given rectangle.
(Defined by RectExtensions.) | |

IsBigger |
Determines whether the specified rectangle is bigger.
(Defined by RectExtensions.) | |

IsInBounds |
Gets whether the rectangle is fully in bounds of the hosting rectangle.
(Defined by RectExtensions.) | |

IsNotZero |
Determines whether the specified rect is zero - does not have size.
(Defined by RectExtensions.) | |

IsValidBounds |
Determines whether the bounds are valid.
(Defined by RectExtensions.) | |

OffsetRect(Vector) | Overloaded.
Offsets the specified rectangle.
(Defined by RectExtensions.) | |

OffsetRect(Double, Double) | Overloaded.
Offsets the current rectangle with the specified values.
(Defined by RectExtensions.) | |

Pivot |
Calculates the pivot point of the specified rectangle.
(Defined by RectExtensions.) | |

Position |
Returns the position of the given rectangle.
(Defined by GraphExtensions.) | |

RelativePoint |
Gets the relative point against the rectangle by offset.
(Defined by RectExtensions.) | |

Rotate(Double, Point) | Overloaded.
Rotates the specified rectangle.
(Defined by RectExtensions.) | |

Rotate(Point, Double) | Overloaded.
Rotates the specified rectangle.
(Defined by RectExtensions.) | |

RotateRect(Double, Point) | Overloaded.
Rotates the specified rectangle.
(Defined by RectExtensions.) | |

RotateRect(Point, Double) | Overloaded.
Rotates the specified rect.
(Defined by RectExtensions.) | |

RotationPoint |
Rotations the point.
(Defined by RectExtensions.) | |

Shrink |
Shrinks the specified rectangle.
(Defined by RectExtensions.) | |

TopLeft | Overloaded.
Returns the top-left point of the rectangle.
(Defined by RectExtensions.) | |

TopLeft(Double, Point, Point) | Overloaded.
Returns the top left point.
(Defined by RectExtensions.) | |

TopLeft(Point, Double, Point) | Overloaded.
Returns the rotated top left point.
(Defined by RectExtensions.) | |

TopRight | Overloaded.
Returns the top-right point of the rectangle.
(Defined by RectExtensions.) | |

TopRight(Double, Point, Point) | Overloaded.
Returns the top right point.
(Defined by RectExtensions.) | |

TopRight(Point, Double, Point) | Overloaded.
Returns the rotated top right point.
(Defined by RectExtensions.) | |

ToSize |
Toes the size.
(Defined by RectExtensions.) |

See Also