LinearGradientBrush Constructor

Initializes a new instance of the LinearGradientBrush class.

The MappingMode of the brush is initialized to RelativeToBoundingBox.

Name Description
LinearGradientBrush () Initializes a new instance of the LinearGradientBrush class.
LinearGradientBrush (GradientStopCollection) Initializes a new instance of the LinearGradientBrush class that has the specified gradient stops.
LinearGradientBrush (GradientStopCollection, Double) Initializes a new instance of the LinearGradientBrush class that has the specified GradientStopCollection and angle.
LinearGradientBrush (Color, Color, Double) Initializes a new instance of the LinearGradientBrush class that has the specified start Color, end Color, and angle.
LinearGradientBrush (GradientStopCollection, Point, Point) Initializes a new instance of the LinearGradientBrush class that has the specified gradient stops, StartPoint, and EndPoint.
LinearGradientBrush (Color, Color, Point, Point) Initializes a new instance of the LinearGradientBrush class that has the specified start Color, end Color, StartPoint, and EndPoint.

Community Additions

ADD
Show: