SpotlightEffect Constructor (IImageProvider, Point, Int32, Double)
Creates a new Spotlight effect with specified image source and parameters.
Namespace: Lumia.Imaging.Artistic
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255
Syntax
public SpotlightEffect(
IImageProvider imageSource,
Point position,
int radius,
double transitionSize
)
'Declaration
Public Sub New (
imageSource As IImageProvider,
position As Point,
radius As Integer,
transitionSize As Double
)
public:
SpotlightEffect(
[InAttribute] IImageProvider^ imageSource,
[InAttribute] Point position,
[InAttribute] int radius,
[InAttribute] double transitionSize
)
Lumia.Imaging.Artistic.SpotlightEffect = function(imageSource, position, radius, transitionSize);
Parameters
- imageSource
Type: Lumia.Imaging.IImageProvider
An image source for the effect.
- position
Type: Windows.Foundation.Point
The position of the center of spotlight circle.
radius
Type: System.Int32
The radius of the spotlight circle in pixels. Current coordinates.Range [0, 64511].
transitionSize
Type: System.Double
The size of the transition region given as a fraction of the radius.Range [0.0, 1.0].
Version Information
Lumia Imaging SDK
Supported in: 3.0
See Also
SpotlightEffect.SpotlightEffect Members
SpotlightEffect Overload