New to Telerik UI for WinForms? Start a free 30-day trial

Defines a rectangle used by clipping and path rendering.

Definition

Namespace:Telerik.WinControls.RichTextEditor.UI

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public sealed class RectangleGeometry : Geometry

Inheritance: objectGeometryRectangleGeometry

Constructors

Initializes an empty rectangle geometry.

C#
public RectangleGeometry()

Initializes a rectangle geometry from the specified rectangle.

C#
public RectangleGeometry(Rect rect)
Parameters:rectRect

The rectangle to store.

Properties

Gets the stored rectangle's location and size as a Telerik Rect.

C#
public override Rect Bounds { get; }

Overrides: Geometry.Bounds

Gets or sets the rectangle used for drawing and clipping.

C#
public RectangleF Rect { get; set; }