Class RectangleGeometry
Rectangular geometry used to draw or define rectangular regions in fixed documents. Coordinates use the document origin at the top-left; X increases to the right and Y increases downward.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Graphics
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class RectangleGeometry : GeometryBase
Constructors
RectangleGeometry()
Create a new RectangleGeometry with an empty rectangle (zero width and height) in document coordinates.
Declaration
public RectangleGeometry()
RectangleGeometry(Rect)
Create a new RectangleGeometry using the specified rectangle; values are interpreted in document coordinates (origin at top-left, X grows right, Y grows down).
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 rectangle that determines this geometry's position and size in document coordinates, directly affecting the drawn region.
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. |