ComputedKeyframe Class

A keyframe returned by KeyframeEffect.GetKeyframes (https://drafts.csswg.org/web-animations-1/#dictdef-basecomputedkeyframe).

public sealed class ComputedKeyframe : Keyframe
Inheritance
Keyframe ComputedKeyframe

Constructors

NameDescription
ComputedKeyframe()

ComputedKeyframe()

public ComputedKeyframe()

No documentation is available.

Properties

NameDescription
ComputedOffsetGets the offset of the keyframe, computed when it is not specified. It is NaN (null in the script API) for a keyframe with a timeline offset that cannot be resolved (e.g. the timeline is not a view timeline or is inactive).

ComputedOffset

Keyframes.cs

Gets the offset of the keyframe, computed when it is not specified. It is NaN (null in the script API) for a keyframe with a timeline offset that cannot be resolved (e.g. the timeline is not a view timeline or is inactive).

public double ComputedOffset { get; init; }