LinearGradientColorBrush Constructor
Namespace: SMath.DrawingAssembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.5.0.0
public LinearGradientColorBrush(
PointF startPnt,
PointF endPnt,
Color startColor,
Color endColor
)
Public Sub New (
startPnt As PointF,
endPnt As PointF,
startColor As Color,
endColor As Color
)
public:
LinearGradientColorBrush(
PointF startPnt,
PointF endPnt,
Color startColor,
Color endColor
)
new :
startPnt : PointF *
endPnt : PointF *
startColor : Color *
endColor : Color -> LinearGradientColorBrush
Parameters
- startPnt PointF
- The starting point of the gradient vector.
- endPnt PointF
- The end point of the gradient vector.
- startColor Color
- The first color of the linear gradient.
- endColor Color
- The second color of the linear gradient.