Share via


GifRenderer Members

Include Protected Members
Include Inherited Members

The GifRenderer type exposes the following members.

Constructors

  Name Description
Public method GifRenderer()
Creates and initializes a new gif renderer.
Public method GifRenderer(IVectorView)
Initializes a new instance of the GifRenderer class
Public method GifRenderer(IImageProvider)
Creates and initializes a new gif renderer with the specified image sources.
Public method GifRenderer(IReadOnlyList<IImageProvider>)
Initializes a new instance of the GifRenderer class
Public method GifRenderer(IVectorView, Void, IImageProvider)
Initializes a new instance of the GifRenderer class
Public method GifRenderer(IReadOnlyList<IImageProvider>, Int32, Int32)
Initializes a new instance of the GifRenderer class

Methods

  Name Description
Public method Close
Public method GetSources
Public method RenderAsync
Renders the source(s) to a GIF image using the current settings.
Public method SetSource
Set a source by index.

Properties

  Name Description
Public property ApplyDithering
Controls whether or not the frames in this image will be dithered.
Public property Duration
The duration each frame is displayed, in milliseconds.
Public property NumberOfAnimationLoops
The number of times the animation should loop.
Public property Size
The output size to use. Width and height must be even.
Public property Source
The IImageProvider that will be used as source when rendering a single frame GIF image.

If render size is not set, width and height of the image must be even, or the render operation will throw an exception.

Public property SourceCount
The number of sources that can be set.
Public property Sources
A sequence of IImageProvider that will be used as the frames for an animated GIF image.

If render size is not set, both width and height of the images must be even, or the render operation will throw an exception.

Public property UseGlobalPalette
Controls whether a global palette will be used or a new palette will be created for each frame.

See Also

GifRenderer Class

Lumia.Imaging Namespace