API Reference
Struct
ImageAnimationFrame
Describes a single RGBA32 animation frame.
Inheritance
- ValueType
- ImageAnimationFrame
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method ImageReader.DecodeAnimationCanvasFrames
- Method ImageReader.DecodeAnimationCanvasFrames
- Method ImageReader.DecodeAnimationCanvasFrames
- Method ImageReader.DecodeAnimationCanvasFrames
- Method ImageReader.DecodeAnimationCanvasFrames
- Method ImageReader.DecodeAnimationCanvasFrames
- Method ImageReader.DecodeAnimationFrames
- Method ImageReader.DecodeAnimationFrames
- Method ImageReader.DecodeAnimationFrames
- Method ImageReader.DecodeAnimationFrames
- Method ImageReader.DecodeAnimationFrames
- Method ImageReader.DecodeAnimationFrames
Accepted by parameters
Constructors
public ImageAnimationFrame(Byte[] rgba, Int32 width, Int32 height, Int32 stride, Int32 durationMs, Int32 x = 0, Int32 y = 0) #Creates an animation frame backed by an RGBA32 buffer.
Parameters
- rgba System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- durationMs System.Int32
- x System.Int32 = 0
- y System.Int32 = 0
Inherited Methods
Properties
public Byte[] Rgba { get; } #RGBA32 pixel buffer.
public Int32 Width { get; } #Frame width in pixels.
public Int32 Height { get; } #Frame height in pixels.
public Int32 Stride { get; } #Frame stride in bytes.
public Int32 DurationMs { get; } #Frame duration in milliseconds.
public Int32 X { get; } #Frame X offset on the canvas.
public Int32 Y { get; } #Frame Y offset on the canvas.