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: 255.255.255.255
public:
FoundationEffect(
[InAttribute] IImageProvider^ imageSource,
[InAttribute] Rect region
)
Parameters
- imageSource
- Type: Lumia.Imaging::IImageProvider
An image source for the effect.
- region
- 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.
Show: