Class FloatingTransformableShape
Represents a floating shape class that supports scaling and rotation transformations.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.Shapes
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public abstract class FloatingTransformableShape : FloatingResizableShapeBase, ICopyable<FloatingShapeBase>
Constructors
FloatingTransformableShape(Worksheet, ShapeBase, CellIndex, Double, Double)
Initializes a new instance of the FloatingTransformableShape class.
Declaration
protected FloatingTransformableShape(Worksheet worksheet, ShapeBase shape, CellIndex cellIndex, double offsetX, double offsetY)
Parameters
Worksheet
worksheet
The worksheet assigned to the floating transformable shape. |
ShapeBase
shape
The shape assigned to the floating transformable shape. |
CellIndex
cellIndex
The cell index where the top left corner of the floating transformable shape is positioned. |
System.Double
offsetX
The left offset of the top left corner of the floating transformable shape relative to the top left corner of the cell index. |
System.Double
offsetY
The top offset of the top left corner of the floating transformable shape relative to the top left corner of the cell index. |
Properties
IsHorizontallyFlipped
Gets or sets the value indicating whether the shape is horizontally flipped.
Declaration
public virtual bool IsHorizontallyFlipped { get; set; }
Property Value
System.Boolean
The value indicating whether the shape is horizontally flipped. |
IsVerticallyFlipped
Gets or sets the value indicating whether the shape is vertically flipped.
Declaration
public virtual bool IsVerticallyFlipped { get; set; }
Property Value
System.Boolean
The value indicating whether the shape is vertically flipped. |
RotationAngle
Gets or sets the rotation angle of the shape.
Declaration
public virtual double RotationAngle { get; set; }
Property Value
System.Double
The rotation angle of the shape. |
Methods
SetRotationAngle(Double, Boolean)
Sets the rotation angle.
Declaration
public void SetRotationAngle(double rotationAngle, bool adjustCellIndex = false)
Parameters
System.Double
rotationAngle
The rotation angle. |
System.Boolean
adjustCellIndex
A value indicating whether the top cell index and offset of the image should be adjusted. |