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

Syntax

public FoundationEffect(
    IImageProvider imageSource,
    Rect region
)
'Declaration
Public Sub New ( 
    imageSource As IImageProvider,
    region As Rect
)
public:
FoundationEffect(
    [InAttribute] IImageProvider^ imageSource, 
    [InAttribute] Rect region
)
Lumia.Imaging.Artistic.FoundationEffect = function(imageSource, region);

Parameters

  • 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.

Version Information

Lumia Imaging SDK

Supported in: 3.0

See Also

FoundationEffect Class

FoundationEffect.FoundationEffect Members

FoundationEffect Overload

Lumia.Imaging.Artistic Namespace