Gets the current rotation, if any, for the element with the given id. If no specific rotation has been applied this method will return 0, never null or undefined.
ID of the element to retrieve rotation for.
The element's current rotation, 0 if no rotation applied.
Rotates the element with the given id by the given amount in degrees. This method sets two properties on the element's style:
Transform origins other than
center center are not supported. To reset the rotation for some element, call
a RedrawResult, which is empty if no redraw was requested (or an element with the given id is not being managed)
Generated using TypeDoc