Share via


AnimationFrame Members

Include Protected Members
Include Inherited Members

The AnimationFrame type exposes the following members.

Constructors

  Name Description
Public method AnimationFrame(IImageProvider)
Creates and initializes a new AnimationFrame.
Public method AnimationFrame(IImageProvider, Int32)
Creates and initializes a new AnimationFrame with the specified playback duration.
Public method AnimationFrame(IImageProvider, Int32, Point)
Creates and initializes a new AnimationFrame with the specified playback duration.

Methods

  Name Description
Public method Clone
Clone the image provider.
Public method Close
Public method CreateImageWorker
Create a worker that can perform image processing.
Public method GetBitmapAsync(Void, Bitmap)
Public method GetBitmapAsync(Bitmap, OutputOption)
Creates a Bitmap from the contents of the image provider.
Public method GetInfoAsync
This method is no longer supported and should not be called. See remarks.
Public method GetSources
Public method Lock
This method is no longer supported and should not be called. See remarks.
Public method PreloadAsync
This method is no longer supported and should not be called. See remarks.
Public method SetSource
Set a source by index.

Extension Methods

  Name Description
Public Extension Method AsAnimationFrame
Returns an AnimationFrame with the specified IImageProvider as its source and the specified frame duration.
(Defined by ImageProviderExtensions.)
Public Extension Method GetBitmapAsync
Creates a WriteableBitmap with the contents of the image provider.
(Defined by ImageProviderExtensions.)
Public Extension Method Then<TImageConsumer>
Enables a fluid way of chaining multiple IImageProvider objects and IImageConsumer objects.
(Defined by ImageProviderExtensions.)

Properties

  Name Description
Public property Dithering
Controls whether or not this image will be dithered.
Public property Duration
Controls how long time the frame is visible, in milliseconds.
Public property Position
Sets the position of the frame, expressed in the output dimensions of the GIF image. Has to be greater or equal to zero. If the Size has been set on the GifRenderer all the images will be resized to the specified size and position will be applied after the resizing.

The default is (0, 0).

Public property Source
The IImageProvider that will be used as source.
Public property SourceCount
Public property SupportedRenderOptions
Supported rendering options.

See Also

AnimationFrame Class

Lumia.Imaging Namespace