Class Timeline<T>

Namespace
Forma.Xaml
Assembly
Forma.dll
public abstract class Timeline<T> : IStoryboardTimeline

Type Parameters

T
Inheritance
Timeline<T>
Implements
Derived
Inherited Members

Constructors

Timeline(string, XamlProperty<T>)

protected Timeline(string targetName, XamlProperty<T> property)

Parameters

targetName string
property XamlProperty<T>

Properties

Duration

public TimeSpan Duration { get; }

Property Value

TimeSpan

KeyFrames

public IList<KeyFrame<T>> KeyFrames { get; }

Property Value

IList<KeyFrame<T>>

Property

public XamlProperty<T> Property { get; }

Property Value

XamlProperty<T>

TargetName

public string TargetName { get; }

Property Value

string

Methods

Activate(NameScope)

public IActiveTimeline Activate(NameScope scope)

Parameters

scope NameScope

Returns

IActiveTimeline

AddKeyFrame(KeyFrame<T>)

public void AddKeyFrame(KeyFrame<T> keyFrame)

Parameters

keyFrame KeyFrame<T>

Interpolate(T, T, float)

protected abstract T Interpolate(T from, T to, float progress)

Parameters

from T
to T
progress float

Returns

T