GradientImageSource Members

Include Protected Members
Include Inherited Members

The GradientImageSource type exposes the following members.

Constructors

  Name Description
Public method GradientImageSource
Creates an image source from a gradient.

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 Invalidate
Flags the image resource as invalid, causing it to be reloaded the next time it is needed.
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.

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 CanSetSize
If true, the Size property can be set.
Public property FrameCount
Number of frames in the image.
Public property FrameIndex
Index of the active frame. Must be less than FrameCount.
Public property Gradient
The gradient to use when generating the image.
Public property ImageFormat
Format of the image data.
Public property ImageSize
Public property Resource
The underlying resource.
Public property Size
The inherent size of the image.
Public property SupportedRenderOptions
Supported rendering options.

See Also

GradientImageSource Class

Lumia.Imaging Namespace