Share via


ReframingEffect Members

Include Protected Members
Include Inherited Members

The ReframingEffect type exposes the following members.

Constructors

  Name Description
Public method ReframingEffect()
Creates and initializes a new Reframing effect.
Public method ReframingEffect(IImageProvider)
Creates and initializes a new Reframing effect that uses the provided image source.
Public method ReframingEffect(Rect, Double)
Creates and initializes a new ReframingEffect with a default pivot point and specified reframing area and angle of rotation.
Public method ReframingEffect(Rect, Double, Point)
Creates and initializes a new ReframingEffect with specified reframing area, angle of rotation, and pivot point.
Public method ReframingEffect(IImageProvider, Rect, Double, Point)
Creates and initializes a new ReframingEffect with the provided image source reframing area, angle of rotation, and pivot point.

Methods

  Name Description
Public method Clone
Clone the image provider.
Public method CreateImageWorker
Create a worker that can perform image processing.
Public method GetBitmapAsync
Public method GetInfoAsync
This method is no longer supported and should not be called. See remarks.
Public method GetSources
Public method Lock
Public method MapInputSizeToOutputSize
Public method MapOutputSizeToInputSize
Maps the effect's output size to the desired size of one its the inputs.
Public method PreloadAsync
This method is no longer supported and should not be called. See remarks.
Public method SetSource
Set a source by index.

Extension Methods

  Name Description
Public Extension Method AsAnimationFrame
Returns an AnimationFrame with the specified IImageProvider as its source and the specified frame duration.
(Defined by ImageProviderExtensions.)
Public Extension Method Then<TImageConsumer>
Enables a fluid way of chaining multiple IImageProvider objects and IImageConsumer objects.
(Defined by ImageProviderExtensions.)

Properties

  Name Description
Public property Angle
Rotation of the reframing area clockwise around its top-left corner in degrees.

Remarks

Default is 0.

Public property PivotPoint
The point around which rotation is done. Expressed in the unit coordinate space of the reframing area, i.e., the top left corner of the reframing area is at (0.0), and the bottom right corner is at (1, 1).

Default is (0.5, 0.5), the center of the reframing area.

Public property PropertyDescriptions
Public property ReframingArea
Rectangle describing the position and size of the reframing area.

The coordinates are relative to the current coordinate system, which may be affected by preceding effects.

Public property Source
The IImageProvider that will be used as source.
Public property SourceCount
The number of sources that can be set.
Public property SupportedRenderOptions
Supported rendering options.

See Also

ReframingEffect Class

Lumia.Imaging.Transforms Namespace