ColorKeyFrame is the base class for three types of color key frames: discrete, linear, and spline. Each of the three subclasses of ColorKeyFrame represents a key frame with a distinct interpolation technique, indicated by its name: <LinearColorKeyFrame KeyTime="0:0:10|Uniform|Paced|30%" Value="Red" /> <DiscreteColorKeyFrame KeyTime="0:0:10|Uniform|Paced|30%" Value="Blue" /> <SplineColorKeyFrame KeyTime="0:0:10|Uniform|Paced|30%" Value="Green" > <SplineColorKeyFrame.KeySpline> <KeySpline ControlPoint1="5,5" ControlPoint2="10,10" /> </SplineColorKeyFrame.KeySpline> </SplineColorKeyFrame> All three ColorKeyFrame subclasses determine when (KeyTime) the frame will reach the designated value (Value). KeyTime is specified in terms of hours:minutes:seconds. The Value attribute of all ColorKeyFrame subclasses is a Color.
Attributes
|