The key tag provides for the definition of individual key frames within an animation sequence. This tag shall only appear as a child of animate. Each key tag specifies an additional target value for the animation. Some of the animation parameters can be overridden for this animation segment. For the attributes defined for this tag, the definition is the same as for animate – any differences are noted in the text below.
- to – The destination value for this animation segment.
- duration – The duration of this animation segment. If the animate parent tag specifies a total time (parent.duration > 0), then this must be a value in the range [0,1] and represents the fraction of time for this segment. The total of all fraction segments <= 1. If the animate parent tag does not specifies a total time (parent.duration <= 0), then this value is the time (in seconds) for this animation. The total animation duration is the sum of the duration all of the segments.
- easing – Same as animate. If this is not specified, then the animate tag’s easing attribute is used.
- easingtype – Same as animate. If this is not specified, then the animate tag’s easingtype attribute is used.