Rotation
Class
Represents a rotation transformation with angle and optional center point. Provides methods to convert to matrix form and create inverse transformations.
Definition
Package:@progress/kendo-react-diagram
Properties
angle
number
The rotation angle in radians.
x
number
The x coordinate of the rotation center.
y
number
The y coordinate of the rotation center.
Methods
Creates an inverted version of this rotation transformation.
Returns:
A new Rotation with inverted angle
Parses a rotation from a string representation.
Converts the rotation transformation to a matrix representation.
Returns:
Matrix
A matrix representing the rotation transformation
Returns a string representation of the rotation transformation.
Returns:
string
String representation in CSS transform format