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.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.Graphics
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class RectangleGeometry : GeometryBase
Inheritance: objectGeometryBaseRectangleGeometry
Inherited Members
Constructors
Create a new RectangleGeometry with an empty rectangle (zero width and height) in document coordinates.
public RectangleGeometry()
Create a new RectangleGeometry using the specified rectangle; values are interpreted in document coordinates (origin at top-left, X grows right, Y grows down).
public RectangleGeometry(Rect rect)
The rectangle that defines the geometry's bounds and shape.
Properties
Methods
Gets the geometry bounds.
protected override Rect GetBounds()
The rectangular bounds of this geometry.
Overrides: