Rotate enumeration

Rotate enumeration

Specifies the rotation behavior for elements during motion animation in SVG.

The Rotate type exposes the following members:

Fields

FieldDescription
AUTOAutomatically rotates the element in the direction of the path.
AUTO_REVERSEAutomatically rotates the element in the direction of the path and allows it to reverse.

Remarks

The ‘rotate’ attribute in SVG’s ‘animateMotion’ element controls the rotation of an element along a motion path. This enum provides options for how the element should rotate as it follows the path.

See Also