ColorKeyFrameAnimation.InsertKeyFrame Methode

Definition

Überlädt

InsertKeyFrame(Single, Color)

Fügt einen Keyframe ein.

InsertKeyFrame(Single, Color, CompositionEasingFunction)

Fügt einen Keyframe mit der angegebenen Beschleunigungsfunktion ein.

InsertKeyFrame(Single, Color)

Fügt einen Keyframe ein.

public:
 virtual void InsertKeyFrame(float normalizedProgressKey, Color value) = InsertKeyFrame;
/// [Windows.Foundation.Metadata.Overload("InsertKeyFrame")]
void InsertKeyFrame(float const& normalizedProgressKey, Color const& value);
[Windows.Foundation.Metadata.Overload("InsertKeyFrame")]
public void InsertKeyFrame(float normalizedProgressKey, Color value);
function insertKeyFrame(normalizedProgressKey, value)
Public Sub InsertKeyFrame (normalizedProgressKey As Single, value As Color)

Parameter

normalizedProgressKey
Single

float

Die Zeit, zu der der Keyframe auftreten soll, ausgedrückt als Prozentsatz der Dauer der Animation. Der zulässige Wert liegt zwischen 0,0 und 1,0.

value
Color

Der Wert des Keyframes.

Attribute

Weitere Informationen

Gilt für:

InsertKeyFrame(Single, Color, CompositionEasingFunction)

Fügt einen Keyframe mit der angegebenen Beschleunigungsfunktion ein.

public:
 virtual void InsertKeyFrame(float normalizedProgressKey, Color value, CompositionEasingFunction ^ easingFunction) = InsertKeyFrame;
/// [Windows.Foundation.Metadata.Overload("InsertKeyFrameWithEasingFunction")]
void InsertKeyFrame(float const& normalizedProgressKey, Color const& value, CompositionEasingFunction const& easingFunction);
[Windows.Foundation.Metadata.Overload("InsertKeyFrameWithEasingFunction")]
public void InsertKeyFrame(float normalizedProgressKey, Color value, CompositionEasingFunction easingFunction);
function insertKeyFrame(normalizedProgressKey, value, easingFunction)
Public Sub InsertKeyFrame (normalizedProgressKey As Single, value As Color, easingFunction As CompositionEasingFunction)

Parameter

normalizedProgressKey
Single

float

Die Zeit, zu der der Keyframe auftreten soll, ausgedrückt als Prozentsatz der Dauer der Animation. Der zulässige Wert liegt zwischen 0,0 und 1,0.

value
Color

Der Wert des Keyframes.

easingFunction
CompositionEasingFunction

Die Beschleunigungsfunktion, die zum Interpolieren zwischen Keyframes verwendet werden soll.

Attribute

Weitere Informationen

Gilt für: