ReframingFilter Constructor (Rect, Double)

Creates and initializes a new ReframingFilter with a default pivot point and specified reframing area and angle of rotation.

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

Syntax

public ReframingFilter(
    Rect reframingArea,
    double angle
)
'Declaration
Public Sub New ( 
    reframingArea As Rect,
    angle As Double
)
public:
ReframingFilter(
    [InAttribute] Rect reframingArea, 
    [InAttribute] double angle
)
Lumia.Imaging.Transforms.ReframingFilter = function(reframingArea, angle);

Parameters

  • reframingArea
    Type: Windows.Foundation.Rect
    The position and size of the reframing area. If the reframing area has a width or height of 0, this filter will not be applied.

    When reframing without rotation, width and height must be in the range [0, 16383].

    When reframing with rotation, width and height must be in the range [0, X], where X is in the range [5792, 16383] depending on the reframing area and the source image size. An exception will be thrown during rendering if this limit is exceeded.

    The ReframingFilter supports reframing to areas larger than the source or outside of source's bounds. Areas outside the original image are rendered as transparent black pixels, ARGB(0, 0, 0, 0).

  • angle
    Type: System.Double
    Rotation of the reframing area clockwise around the pivot point in degrees.

Version Information

Lumia Imaging SDK

Supported in: 2.0

See Also

ReframingFilter Class

ReframingFilter.ReframingFilter Members

ReframingFilter Overload

Lumia.Imaging.Transforms Namespace