rotate method

rotate

Rotates the matrix by the specified angle.

def rotate(self, angle):
    ...
ParameterTypeDescription
anglefloatThe angle of rotation in degrees.

rotate

Rotates the matrix by the specified angle in the specified order.

def rotate(self, angle, order):
    ...
ParameterTypeDescription
anglefloatThe angle of rotation in degrees.
orderWebMatrixOrderThe order in which rotation is applied.

See Also