BlendFilter.TargetArea Property

A target area within the background image into which the foreground is image blended. Expressed in the unit coordinate space of the background image, i.e., the top left corner of the background image is at (0, 0), and the bottom right corner is at (1, 1).

TargetOutputOption controls how the foreground is fitted into the target area. By default, the foreground image is stretched to fit the target area.

If value equals Windows::Foundation::Rect::Empty, or either Width or Height is smaller than or equal to zero, the foreground will be stretched over whole background and aspect ratio will not be preserved.

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

function get_TargetArea();
function set_TargetArea(value);

Property Value

Type: Rect

Default is Windows::Foundation::Rect::Empty.

Lumia Imaging SDK

Supported in: 2.0
Show: