IMatrix class
IMatrix class
Represents a matrix used for transformations.
The IMatrix type exposes the following members:
Properties
Property | Description |
---|---|
is_identity | Gets a value indicating whether this matrix is the identity matrix. |
m11 | Gets or sets the value in the first row and first column of the matrix. |
m12 | Gets or sets the value in the first row and second column of the matrix. |
m21 | Gets or sets the value in the second row and first column of the matrix. |
m22 | Gets or sets the value in the second row and second column of the matrix. |
m31 | Gets or sets the value in the third row and first column of the matrix. |
m32 | Gets or sets the value in the third row and second column of the matrix. |
is_invertible | Gets a value indicating whether this matrix is invertible. |
Methods
Method | Description |
---|---|
scale | Scales the matrix by the specified scale factors in the specified order. |
scale | Scales the matrix by the specified scale factors uniformly. |
translate | Translates the matrix by the specified offset values in the specified order. |
translate | Translates the matrix by the specified offset values. |
multiply | Multiplies this matrix by another matrix in the specified order. |
multiply | Multiplies this matrix by another matrix. |
rotate | Rotates the matrix by the specified angle in the specified order. |
rotate | Rotates the matrix by the specified angle. |
rotate_at | Rotates the matrix by the specified angle around the specified point in the specified order. |
rotate_at | Rotates the matrix by the specified angle around the specified point. |
invert | Inverts this matrix. |
get_elements | Gets the elements of the matrix as an array. |
transform_point | Transforms the specified point using this matrix. |
transform_points | Transforms an array of points using this matrix. |
transform | Transforms the specified rectangle using this matrix. |
skew | Applies a skew transformation to the matrix. |
reset | Resets the matrix to the identity matrix. |
clone | Creates a copy of this matrix. |
to_native | Converts the matrix to a native representation. |
See Also
- module
aspose.svg.drawing