FoundationEffect Constructor (IImageProvider, Rect)

Creates and initializes a new FoundationEffect with specified image source and a region that will be applied to a specific region in the image.

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

Lumia.Imaging.Artistic.FoundationEffect = function(imageSource, region);


Type: Lumia.Imaging.IImageProvider
An image source for the effect.
Type: Windows.Foundation.Rect
The region in which the effect is applied, for instance a face.

The coordinates are relative to the current coordinate system, which may be affected by preceding effects.

If a region with zero width or height is specified, the effect will be applied to the whole image.

Lumia Imaging SDK

Supported in: 3.0