19.5.5 animRot

This animation element is responsible for animating the rotation of an object. Rotation values set in the “by” , “to, and “from” attributes are specified in degrees measured to a 60,000th, i.e 1 degree is 60,000. Rotation values can be larger than 360°.

The sign of the rotation angle specifies the direction for rotation. A negative rotation specifies that the rotation should appear in the host to go counter-clockwise”.

[Example: Consider trying to emphasize a shape by rotating it 360 degrees clockwise. The element should be used as follows:

<p:animRot by="21600000">
  <p:cBhvr>
    <p:cTn id="6" dur="2000" fill="hold"/>
    <p:tgtEl>
      <p:spTgt spid="5"/>
    </p:tgtEl>
    <p:attrNameLst>
      <p:attrName>r</p:attrName>
    </p:attrNameLst>
  </p:cBhvr>
</p:animRot>

end example]

Attributes

to (To)

This attribute describes the ending value for the animation.

The possible values for this attribute are defined by the ST_Angle simple type (20.1.10.3).

from (From)

This attribute describes the starting value for the animation.

The possible values for this attribute are defined by the ST_Angle simple type (20.1.10.3).

by (By)

This attribute describes the relative offset value for the animation.

The possible values for this attribute are defined by the ST_Angle simple type (20.1.10.3).

[Note: The W3C XML Schema definition of this element’s content model (CT_TLAnimateRotationBehavior) is located in A.3. end note]

Last updated on