ShapeBase
Base type for drawable shapes that track size, transforms, outline, and fill used in documents.
Definition
Namespace:Telerik.Windows.Documents.Model.Drawing.Shapes
Assembly:Telerik.Windows.Documents.Core.dll
Syntax:
public abstract class ShapeBase
Inheritance: objectShapeBase
Derived Classes:
Constructors
Methods
Initializes the size.
protected virtual void InitializeSize()
Properties
Gets or sets the alternative text describing the shape for accessibility.
public string Description { get; set; }
The description (alternative text).
Gets or sets the fill applied to the interior of the shape.
public Fill Fill { get; set; }
Gets or sets the shape height in document units.
public double Height { get; set; }
The height.
Gets or sets whether the shape is horizontally flipped (mirrored along the Y-axis).
public bool IsHorizontallyFlipped { get; set; }
The value indicating if the shape is horizontally flipped.
Gets or sets whether the shape is vertically flipped (mirrored along the X-axis).
public bool IsVerticallyFlipped { get; set; }
The value indicating if the shape is vertically flipped.
Gets the hyperlink target associated with the shape, if any.
public string Link { get; }
Gets or sets whether the width-to-height ratio is preserved during resize operations.
public bool LockAspectRatio { get; set; }
The value indicating whether the aspect ratio between the width and height should remain constant.
Gets or sets the user-defined name for this shape, useful for identification.
public string Name { get; set; }
The name.
Gets the outline (stroke) applied to the shape’s border.
public Outline Outline { get; }
Gets or sets the rotation angle applied to the shape in degrees.
public double RotationAngle { get; set; }
The rotation angle.
Size
Size
Gets or sets the shape size; when not set, it may be auto-initialized.
public Size Size { get; set; }
The size.
Gets or sets the title (caption) displayed for the shape in some viewers.
public string Title { get; set; }
The title (caption).