LinearGradientBrush Constructor (Point, Point, Color, Color)
.NET Framework (current version)
Initializes a new instance of the LinearGradientBrush class with the specified points and colors.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- point1
-
Type:
System.Drawing::Point
A Point structure that represents the starting point of the linear gradient.
- point2
-
Type:
System.Drawing::Point
A Point structure that represents the endpoint of the linear gradient.
- color1
-
Type:
System.Drawing::Color
A Color structure that represents the starting color of the linear gradient.
- color2
-
Type:
System.Drawing::Color
A Color structure that represents the ending color of the linear gradient.
.NET Framework
Available since 1.1
Available since 1.1
Show: