<animScale> (Animate Scale)

This animation element is responsible for animating the scale of an object. When animating the scale, the element must scale around the reference point of the element and the positioning system used should be consistent with the one used for motion paths. When animating the width and height of an element, all of the width/height animation values are calculated first then the scale animations are applied on top of that. So for example, an animation from 0 to 100 of the width with a concurrent scale from 100% to 200% would result in the element appearing to scale from 0 to 200.

[Example: Consider trying to emphasize a shape by scaling it larger by 150%. The <<animScale>> element should be used as follows:

<p:childTnLst>
  <p:animScale>
    <p:cBhvr>
      <p:cTn id="6" dur="2000" fill="hold"/>
      <p:tgtEl>
        <p:spTgt spid="5"/>
      </p:tgtEl>
    </p:cBhvr>
    <p:by x="150000" y="150000"/>
  </p:animScale>
</p:childTnLst>

End example]

Parent Elements

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

Child Elements

Subclause

<by> (By)

§4.6.20

<cBhvr> (Common Behavior)

§4.6.22

<from> (From)

§4.6.43

<to> (To)

§4.6.88

Attributes

Description

<zoomContents> (Zoom Content)

This attribute specifies whether to zoom the contents of an object when doing a scaling animation.

The possible values for this attribute are defined by the XML Schema boolean datatype.

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

<complexType name="CT_TLAnimateScaleBehavior">
	<sequence>
	<element name="cBhvr" type="CT_TLCommonBehaviorData" minOccurs="1" maxOccurs="1"/>
	<element name="by" type="CT_TLPoint" minOccurs="0" maxOccurs="1"/>
	<element name="from" type="CT_TLPoint" minOccurs="0" maxOccurs="1"/>
	<element name="to" type="CT_TLPoint" minOccurs="0" maxOccurs="1"/>
	</sequence>
	<attribute name="zoomContents" type="xsd:boolean" use="optional"/>
</complexType>