LinearGradientColorBrush Constructor

Initializes a new instance of the LinearGradientColorBrush class.

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.5.0.0
C#
public LinearGradientColorBrush(
	PointF startPnt,
	PointF endPnt,
	Color startColor,
	Color endColor
)

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.

See Also