Create a new AxialGradientBrush with given start and endpoint.

Namespace: TallComponents.PDF.Layout.Brushes
Assembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0

Syntax

C#
public AxialGradientBrush(
	Color startColor,
	Color endColor,
	double startX,
	double startY,
	double endX,
	double endY
)
Visual Basic
Public Sub New ( _
	startColor As Color, _
	endColor As Color, _
	startX As Double, _
	startY As Double, _
	endX As Double, _
	endY As Double _
)

Parameters

startColor
Type: TallComponents.PDF.Layout.Colors..::..Color
The start color of the gradient fill.
endColor
Type: TallComponents.PDF.Layout.Colors..::..Color
The end color of the gradient fill.
startX
Type: System..::..Double
The horizontal position of the starting point of the gradient fill.
startY
Type: System..::..Double
The vertical position of the starting point of the gradient fill.
endX
Type: System..::..Double
The horizontal position of the ending point of the gradient fill.
endY
Type: System..::..Double
The vertical position of the ending point of the gradient fill.

See Also