SimplePosition
Lightweight IPosition that composes transforms from scale, rotate, and translate properties at runtime.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.Data
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class SimplePosition : IPosition
Inheritance: objectSimplePosition
Implements:
Constructors
Create a new instance initialized to identity (no translation, unit scale, 0° rotation).
public SimplePosition()
Methods
Resets all transformation values to their default state.
public void Clear()
Implements:
Creates a deep copy of the current simple position with all transformation values.
public IPosition Clone()
A new SimplePosition instance that is a copy of this instance.
Implements:
Applies rotation transformation by the specified angle around the origin.
Applies rotation transformation by the specified angle around a center point.
Applies scaling transformation by the specified factors around a center point.
public void ScaleAt(double scaleX, double scaleY, double centerX, double centerY)
The horizontal scale factor.
scaleYdoubleThe vertical scale factor.
centerXdoubleThe X coordinate of the scaling center point.
centerYdoubleThe Y coordinate of the scaling center point.
Implements:
Properties
Returns a new instance preconfigured with identity transformation.
public static SimplePosition Default { get; }
A new SimplePosition instance with default transformation values.
Matrix
Matrix
Transformation matrix computed from the current scale, rotation, and translation values.
public Matrix Matrix { get; }
The computed transformation matrix that combines scale, rotation, and translation operations.
Implements: