Chapter 11: Animations and Transformations
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
<KeySpline ControlPoint1="5,5" ControlPoint2="10,10" />
All three ThicknessKeyFrame subclasses determine when (KeyTime) the frame will reach
the designated value (
Value). KeyTime is specified in terms of hours:minutes:seconds.
Value attribute of all ThicknessKeyFrame subclasses is a Thickness.
Skips from one value to the desired value without interpolation. Thus, the Value
will not be reached until KeyTime (relative to the beginning of the animation).
Utilizes linear interpolation to reach the desired value. Linear interpolation
progresses the animation at a steady rate for its duration.
Uses a concept similar to Bezier curves to interpolate values until Value has been
reached. This subclass requires an additional attribute,
KeySpline, which is used
to interpolate the value in much the same way as control points are used to inter-
polate a line when declaring a Bezier curve.
Thickness value may be specified using abbreviated markup syntax or explicitly
declared as a
KeySpline (required) (SplineThicknessKeyFrame only)
KeySpline describes how the key frame will be altered during animation.
This attribute specifies when, relative to the animation, this key frame takes place:
• A time period specified in hours:minutes:seconds.
Uniform: The Duration will be split evenly among all key frames.
• Paced: The Duration will be split among key frames in a way that ensures the
speed of the animation remains relatively constant.
• A percentage of the total duration.
Thickness describes the destination value of the key frame.
Hierarchy: DependencyObject ➝ Freezable ➝ Animatable