<animRot> (Animate Rotation)

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 <animRot> 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]

Parent Elements

<childTnLst>4.6.25); <subTnLst>4.6.78); <tnLst>4.6.87)

Child Elements

Subclause

<cBhvr> (Common Behavior)

§4.6.22

Attributes

Description

<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 (§5.1.12.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 (§5.1.12.3).

<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 (§5.1.12.3).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_TLAnimateRotationBehavior">
	<sequence>
	<element name="cBhvr" type="CT_TLCommonBehaviorData" minOccurs="1" maxOccurs="1"/>
	</sequence>
	<attribute name="by" type="a:ST_Angle" use="optional"/>
	<attribute name="from" type="a:ST_Angle" use="optional"/>
	<attribute name="to" type="a:ST_Angle" use="optional"/>
</complexType>