Represents a brush that paints an area with a solid color.

System.Object
  Docentric.Documents.ObjectModel.Brush
    Docentric.Documents.ObjectModel.LinearGradientBrush

Namespace: Docentric.Documents.ObjectModel
Assembly: Docentric.Documents.ObjectModel (in Docentric.Documents.ObjectModel.dll)
public class LinearGradientBrush : Brush

The LinearGradientBrush type exposes the following members.

Name Description
Public constructor .ctor(Double, GradientStop[]) Creates a new instance of LinearGradientBrush.
Name Description
Public member Angle Gets or sets 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.
Public member GradientStops Gets the brush's gradient stops.
Name Description
Public method Equals Determines whether the specified object is equal to this LinearGradientBrush instance. (Overrides LinearGradientBrush.Equals)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object)
Public method GetType Gets the Type of the current instance. (Inherited from Object)
Public method ToString Returns the string representation of the object. (Overrides LinearGradientBrush.ToString)