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

Syntax

public Rect TargetArea { get; set; }
'Declaration
Public Property TargetArea As Rect
    Get
    Set
public:
virtual property Rect TargetArea {
    Rect get () sealed;
    void set (Rect value) sealed;
}
function get_TargetArea();
function set_TargetArea(value);

Property Value

Type: Rect

Version Information

Lumia Imaging SDK

Supported in: 3.0, 2.0

See Also

BlendEffect Class

BlendEffect.BlendEffect Members

Lumia.Imaging.Compositing Namespace