Class MatrixPosition
Represents position.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Data
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class MatrixPosition : IPosition
Constructors
MatrixPosition()
MatrixPosition(Matrix)
Initializes a new instance of the MatrixPosition class.
Declaration
public MatrixPosition(Matrix matrix)
Parameters
System.Windows.Media.Matrix
matrix
The matrix. |
MatrixPosition(IPosition)
Initializes a new instance of the MatrixPosition class.
Declaration
public MatrixPosition(IPosition other)
Parameters
IPosition
other
The other. |
Properties
Default
Gets the default.
Declaration
public static MatrixPosition Default { get; }
Property Value
MatrixPosition
The default. |
Matrix
Gets or sets the matrix.
Declaration
public Matrix Matrix { get; }
Property Value
System.Windows.Media.Matrix
The matrix. |
Implements
Methods
Clear()
Clone()
Rotate(Double)
Applies a rotation of the specified angle about the origin.
Declaration
public void Rotate(double angle)
Parameters
System.Double
angle
The angle. |
Implements
RotateAt(Double, Double, Double)
Rotates this matrix about the specified point.
Declaration
public void RotateAt(double angle, double centerX, double centerY)
Parameters
System.Double
angle
The angle. |
System.Double
centerX
The center X. |
System.Double
centerY
The center Y. |
Implements
Scale(Double, Double)
Appends the specified scale vector.
Declaration
public void Scale(double scaleX, double scaleY)
Parameters
System.Double
scaleX
The scale X. |
System.Double
scaleY
The scale Y. |
Implements
ScaleAt(Double, Double, Double, Double)
Applies a scale by the specified amount about the specified point.
Declaration
public void ScaleAt(double scaleX, double scaleY, double centerX, double centerY)
Parameters
System.Double
scaleX
The scale X. |
System.Double
scaleY
The scale Y. |
System.Double
centerX
The center X. |
System.Double
centerY
The center Y. |
Implements
Translate(Double, Double)
Appends a translation of the specified offsets.
Declaration
public void Translate(double offsetX, double offsetY)
Parameters
System.Double
offsetX
The offset X. |
System.Double
offsetY
The offset Y. |