ReframingEffect Constructor (Rect, Double)
Creates and initializes a new ReframingEffect 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 ReframingEffect(
Rect reframingArea,
double angle
)
'Declaration
Public Sub New (
reframingArea As Rect,
angle As Double
)
public:
ReframingEffect(
[InAttribute] Rect reframingArea,
[InAttribute] double angle
)
Lumia.Imaging.Transforms.ReframingEffect = 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 effect 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 ReframingEffect 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: 3.0
See Also
ReframingEffect.ReframingEffect Members
ReframingEffect Overload