Enum Rotate

Enum Rotate

Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.5.0)

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

[ComVisible(true)]
public enum Rotate

Fields

Auto = 0

Automatically rotates the element in the direction of the path.

When set to ‘auto’, the element’s rotation is automatically adjusted to align with the direction of the path at each point. This is commonly used for smooth, natural motion along curved paths.

AutoReverse = 1

Automatically rotates the element in the direction of the path and allows it to reverse.

‘auto-reverse’ rotates the element similar to ‘auto’, but also allows the element to reverse its rotation direction at certain points of the path. This can create dynamic, visually interesting effects, especially in looping animations.

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.

 English