Class GifAnimation
public class GifAnimation : IDisposable
- Inheritance
-
GifAnimation
- Implements
- Inherited Members
- Extension Methods
Fields
LockFrames
protected object LockFrames
Field Value
Properties
DurationMs
public int DurationMs { get; protected set; }
Property Value
Frame
Current frame bitmap, can change with SeekFrame method
public SKBitmap Frame { get; protected set; }
Property Value
Frames
protected SKBitmap[] Frames { get; set; }
Property Value
- SKBitmap[]
FramesPositionsMs
protected int[] FramesPositionsMs { get; set; }
Property Value
- int[]
Height
protected int Height { get; set; }
Property Value
IsDisposed
public bool IsDisposed { get; set; }
Property Value
TotalFrames
public int TotalFrames { get; protected set; }
Property Value
Width
protected int Width { get; set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public virtual void Dispose()
GetFrameNumber(double)
public int GetFrameNumber(double msTime)
Parameters
msTimedouble
Returns
LoadFromStream(Stream)
public void LoadFromStream(Stream stream)
Parameters
streamStream
SeekFrame(int)
Select frame. If you pass a negative value the last frame will be set.
public void SeekFrame(int frame)
Parameters
frameint