GradientImageSource Constructor

Creates an image source from a gradient.

Namespace: Lumia.Imaging
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

Lumia.Imaging.GradientImageSource = function(size, gradient);

Parameters

size
Type: Windows.Foundation.Size
The inherent size of the image.
gradient
Type: Lumia.Imaging.IGradient
The gradient to use when generating the image.

Lumia Imaging SDK

Supported in: 3.0, 2.0
Show: