Свойство | Type | Description | |
---|---|---|---|
Identity | Avalonia.Matrix |
Méthode | Description | |
---|---|---|
Rotation ( double radians ) : Avalonia.Matrix |
Creates a matrix that rotates.
|
|
Rotation ( double angle, Avalonia.Vector center ) : Avalonia.Matrix |
Creates a matrix that rotates about a specified center.
|
|
Rotation ( double angle, double centerX, double centerY ) : Avalonia.Matrix |
Creates a matrix that rotates about a specified center.
|
|
Scale ( double scaleX, double scaleY ) : Avalonia.Matrix |
Creates a matrix that scales along the x-axis and y-axis.
|
|
ScaleAt ( double scaleX, double scaleY, double centerX, double centerY ) : Avalonia.Matrix |
Creates a matrix that is scaling from a specified center.
|
|
ScaleAtPrepend ( Avalonia.Matrix matrix, double scaleX, double scaleY, double centerX, double centerY ) : Avalonia.Matrix |
Prepends a scale around the center of provided matrix.
|
|
Skew ( float angleX, float angleY ) : Avalonia.Matrix |
Creates a skew matrix.
|
|
TransformPoint ( Avalonia.Matrix matrix, Avalonia.Point point ) : Avalonia.Point |
Transforms a point by this matrix.
|
|
Translate ( double offsetX, double offsetY ) : Avalonia.Matrix |
Creates a translation matrix using the specified offsets.
|
|
TranslatePrepend ( Avalonia.Matrix matrix, double offsetX, double offsetY ) : Avalonia.Matrix |
Prepends a translation around the center of provided matrix.
|
public static Rotation ( double radians ) : Avalonia.Matrix | ||
radians | double | Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis. |
Résultat | Avalonia.Matrix |
public static Rotation ( double angle, Avalonia.Vector center ) : Avalonia.Matrix | ||
angle | double | Angle of rotation in radians. |
center | Avalonia.Vector | The center of the rotation. |
Résultat | Avalonia.Matrix |
public static Rotation ( double angle, double centerX, double centerY ) : Avalonia.Matrix | ||
angle | double | Angle of rotation in radians. |
centerX | double | The center X-coordinate of the rotation. |
centerY | double | The center Y-coordinate of the rotation. |
Résultat | Avalonia.Matrix |
public static Scale ( double scaleX, double scaleY ) : Avalonia.Matrix | ||
scaleX | double | Scaling factor that is applied along the x-axis. |
scaleY | double | Scaling factor that is applied along the y-axis. |
Résultat | Avalonia.Matrix |
public static ScaleAt ( double scaleX, double scaleY, double centerX, double centerY ) : Avalonia.Matrix | ||
scaleX | double | Scaling factor that is applied along the x-axis. |
scaleY | double | Scaling factor that is applied along the y-axis. |
centerX | double | The center X-coordinate of the scaling. |
centerY | double | The center Y-coordinate of the scaling. |
Résultat | Avalonia.Matrix |
public static ScaleAtPrepend ( Avalonia.Matrix matrix, double scaleX, double scaleY, double centerX, double centerY ) : Avalonia.Matrix | ||
matrix | Avalonia.Matrix | The matrix to prepend scale. |
scaleX | double | Scaling factor that is applied along the x-axis. |
scaleY | double | Scaling factor that is applied along the y-axis. |
centerX | double | The center X-coordinate of the scaling. |
centerY | double | The center Y-coordinate of the scaling. |
Résultat | Avalonia.Matrix |
public static Skew ( float angleX, float angleY ) : Avalonia.Matrix | ||
angleX | float | Angle of skew along the X-axis in radians. |
angleY | float | Angle of skew along the Y-axis in radians. |
Résultat | Avalonia.Matrix |
public static TransformPoint ( Avalonia.Matrix matrix, Avalonia.Point point ) : Avalonia.Point | ||
matrix | Avalonia.Matrix | The matrix to use as a transformation matrix. |
point | Avalonia.Point | >The original point to apply the transformation. |
Résultat | Avalonia.Point |
public static Translate ( double offsetX, double offsetY ) : Avalonia.Matrix | ||
offsetX | double | X-coordinate offset. |
offsetY | double | Y-coordinate offset. |
Résultat | Avalonia.Matrix |
public static TranslatePrepend ( Avalonia.Matrix matrix, double offsetX, double offsetY ) : Avalonia.Matrix | ||
matrix | Avalonia.Matrix | The matrix to prepend translation. |
offsetX | double | X-coordinate offset. |
offsetY | double | Y-coordinate offset. |
Résultat | Avalonia.Matrix |