LinearGradient Members

The LinearGradient type exposes the following members.

  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, GradientStop[])
Creates and initializes a new linear gradient, using the specified start point, end point, and stops.

  Name Description
Public method Close

  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.
Show: