Creates a new instance of LinearGradientBrush.

Namespace: Docentric.Documents.ObjectModel
Assembly: Docentric.Documents.ObjectModel (in Docentric.Documents.ObjectModel.dll)
public LinearGradientBrush( Double angle, GradientStop[] gradientStops )

Parameters

angle
Type: Double

The angle, in degrees, of the gradient. A value of 0.0 creates a horizontal gradient, and a value of 90.0 creates a vertical gradient.

gradientStops
Type: GradientStop[]

An array of GradientStops that shall be used with the LinearGradientBrush.