Share via


LinearGradient Members

Include Protected Members
Include Inherited Members

The LinearGradient type exposes the following members.

Constructors

  Name Description
Public method LinearGradient()
Creates and initializes a new linear gradient with default values.
Public method LinearGradient(Point, Point)
Creates and initializes a new linear gradient, using the specified start point and end point.
Public method LinearGradient(Point, Point, array<GradientStop[])
Creates and initializes a new linear gradient, using the specified start point, end point, and stops.

Methods

  Name Description
Public method Close

Properties

  Name Description
Public property EndPoint
The end point of the gradient, where a GradientStop with Offset equal to 1 would be.
Public property StartPoint
The start point of the gradient, where a GradientStop with Offset equal to 0 would be.
Public property Stops
List of GradientStop defining the color changes within the gradient.

See Also

LinearGradient Class

Lumia.Imaging Namespace