Export (0) Print
Expand All

LinearGradientBrush Constructor

Initializes a new instance of the LinearGradientBrush class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

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

The MappingMode of the brush is initialized to RelativeToBoundingBox.

Show:
© 2015 Microsoft