RotateAttribute: rotate

Description Available Attribute Values Animatable Used by the Elements

Description

Governs the rotation of an object along a path.

Available Attribute Values

The value is a numeric representing an angle in degrees.

'auto'

Specifies that as the target element moves along the path, its orientation is to be continously adjusted by an θ(t), such that at any time t the vector (cos(θ(t)), sin(θ(t)) lies in the direction of the objects trajectory. Since, at any given moment, the direction of the trajectory is a vector tangent to the path in the direction of the motion, the orientation of the element with respect to the path is continously maintained.

'auto-reverse'

Specifies that as the target element moves along the path, its orientation is to be continously adjusted by an θ(t), such that at any time t the vector (-cos(θ(t)), -sin(θ(t)) lies in the direction of the objects trajectory. Both auto and auto-reverse maintain the orientation of the element with respect to the path, but the auto-reverse image is a contionus reflection of the auto image through a moving reference point on the path corresponding to the origin in the targets coordinate system.

<angle>

Specifies to apply a constant rotational transformation on target element, where the rotational angle is the specified number of degrees.

Animatable

Not Animatable

Used by the Elements

Animation Elements

animateMotion


mslegrand/svgR documentation built on Jan. 21, 2020, 2:59 p.m.