New to Telerik UI for WPFStart a free 30-day trial

Represents a rectangle.

Definition

Namespace:Telerik.Windows.Media.Imaging.Shapes

Assembly:Telerik.Windows.Controls.ImageEditor.dll

Syntax:

C#
public class RectangleShape : IShape

Inheritance: objectRectangleShape

Implements: IShape

Constructors

C#
public RectangleShape()

Properties

Gets the display name of a shape.

C#
public string DisplayName { get; }
Property Value:

The display name.

Implements: IShape.DisplayName

Methods

Gets the rectangle shape geometry.

C#
public Geometry GetShapeGeometry()
Returns:

Geometry

The geometry of a rectangle.

Implements: IShape.GetShapeGeometry()