Keyframe Class
A keyframe (https://drafts.csswg.org/web-animations-1/#dictdef-basekeyframe): its offset, easing function, composite operation and property values.
public class KeyframeConstructors
| Name | Description |
|---|---|
| Keyframe() |
Keyframe()
Keyframes.cspublic Keyframe()No documentation is available.
Properties
| Name | Description |
|---|---|
| Composite | Gets the composite operation of the values of the keyframe. |
| Easing | Gets the easing function applied from this keyframe to the next one. |
| Offset | Gets the offset of the keyframe, in [0, 1], or null to space the keyframes evenly. |
| Properties | Gets the property values of the keyframe, by CSS property name (e.g. margin-left or --custom). |
Composite
Keyframes.csGets the composite operation of the values of the keyframe.
public CompositeOperationOrAuto Composite { get; init; }Easing
Keyframes.csGets the easing function applied from this keyframe to the next one.
public string Easing { get; init; }Offset
Keyframes.csGets the offset of the keyframe, in [0, 1], or null to space the keyframes evenly.
public double? Offset { get; init; }Properties
Keyframes.csGets the property values of the keyframe, by CSS property name (e.g. margin-left or --custom).
public IDictionary<string, string> Properties { get; init; }