IMatrix
ReferencesRemarks: A matrix is defined by six elements that are used to transform a coordinate system. The elements of the matrix are defined as:
| xx yx 0 | | xy yy 0 | | x0 y0 1 |
Properties
Value: The control object for the widget
Methods
Append
#Append the specified
matrix to this matrixParameters:
| matrix (IMatrix) | Matrix to append to this matrix |
Prepend
#Prepend the specified matrix to this matrix
Parameters:
| matrix (IMatrix) | Matrix to prepend to this matrix |
Rotate
#Prepend a rotation to the matrix around the origin (0,0)
Parameters:
| angle (float) | Angle in degrees to rotate. A positive value indicates a clockwise rotation, whereas a negative value will rotate counter clockwise |
RotateAt
#Prepend a rotation around the specified point to the matrix
Scale
#Prepend a scale to the matrix from the origin (0, 0)
ScaleAt
#Prepend a scale to the matrix from the specified point
Skew
#Prepend a skew to the matrix
TransformPoint
#Transforms the specified point using this matrix transform
Parameters:
| point (Point) | Point to transform |
Returns: The value of the point transformed by this matrix
TransformPoint
#Transforms the specified point using this matrix transform
Parameters:
| point (PointF) | Point to transform |
Returns: The value of the point transformed by this matrix