ImageTrack Class
A track of the image of an ImageDecoder (https://w3c.github.io/webcodecs/#imagetrack): a still image or an animation.
public sealed class ImageTrackProperties
| Name | Description |
|---|---|
| Animated | Gets whether the track is an animation of several frames. |
| FrameCount | Gets the number of frames of the track found so far (it increases while the data of a stream arrives). |
| RepetitionCount | Gets the number of times the animation is repeated after it is played once (Single.PositiveInfinity: forever). |
| Selected | Gets or sets whether the track is the one that is decoded (https://w3c.github.io/webcodecs/#dom-imagetrack-selected). |
Animated
ImageTrack.csGets whether the track is an animation of several frames.
public bool Animated { get; }FrameCount
ImageTrack.csGets the number of frames of the track found so far (it increases while the data of a stream arrives).
public uint FrameCount { get; }RepetitionCount
ImageTrack.csGets the number of times the animation is repeated after it is played once (Single.PositiveInfinity: forever).
public float RepetitionCount { get; }Selected
ImageTrack.csGets or sets whether the track is the one that is decoded (https://w3c.github.io/webcodecs/#dom-imagetrack-selected).
public bool Selected { get; set; }