RadialGradient Constructor (Point, EllipseRadius)
Creates and initializes a new radial gradient, with the specified center point and radius.
Namespace: Lumia.Imaging
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255
Syntax
public RadialGradient(
Point centerPoint,
EllipseRadius radius
)
'Declaration
Public Sub New (
centerPoint As Point,
radius As EllipseRadius
)
public:
RadialGradient(
[InAttribute] Point centerPoint,
[InAttribute] EllipseRadius^ radius
)
Lumia.Imaging.RadialGradient = function(centerPoint, radius);
Parameters
centerPoint
Type: Windows.Foundation.Point
The center point of the gradient, to which a GradientStop with Offset equal to 0 would map.Expressed in the unit coordinate space of the gradient image area, i.e., the top left corner of the gradient image is at (0.0), and the bottom right corner is at (1, 1).
radius
Type: Lumia.Imaging.EllipseRadius
The radius of the gradient. This is the distance from CenterPoint that a GradientStop with Offset equal to 1 would map to.Expressed in the unit coordinate space of the gradient image area, i.e., the top left corner of the gradient image is at (0.0), and the bottom right corner is at (1, 1).
To create a circle specify value for only one dimension and set the other one to 0.
Version Information
Lumia Imaging SDK
Supported in: 3.0, 2.0
See Also
RadialGradient.RadialGradient Members
RadialGradient Overload