Class RectangleGeometry
Represents a rectangular geometry for drawing rectangular shapes and defining rectangular regions.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Graphics
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class RectangleGeometry : GeometryBase
Constructors
RectangleGeometry()
Initializes a new instance of the RectangleGeometry class with default empty rectangle.
Declaration
public RectangleGeometry()
RectangleGeometry(Rect)
Initializes a new instance of the RectangleGeometry class with the specified rectangle dimensions.
Declaration
public RectangleGeometry(Rect rect)
Parameters
System.Windows.Rect
rect
The rectangle that defines the geometry's bounds and shape. |
Properties
Rect
Gets or sets the rectangular bounds that define this geometry's shape and dimensions.
Declaration
public Rect Rect { get; set; }
Property Value
System.Windows.Rect
The rectangle that specifies the position, width, and height of this geometry. |
Methods
GetBounds()
Gets the geometry bounds.
Declaration
protected override Rect GetBounds()
Returns
System.Windows.Rect
The rectangular bounds of this geometry. |