PDFKit.NET 2.0 Class Library (.NET 2.0)

AxialGradientBrush Constructor (Color, Color, Double, Double, Double, Double)

Create a new AxialGradientBrush with given start and endpoint.

public AxialGradientBrush(
   Color startColor,
   Color endColor,
   double startX,
   double startY,
   double endX,
   double endY
);

Parameters

startColor
The start color of the gradient fill.
endColor
The end color of the gradient fill.
startX
The horizontal position of the starting point of the gradient fill.
startY
The vertical position of the starting point of the gradient fill.
endX
The horizontal position of the ending point of the gradient fill.
endY
The vertical position of the ending point of the gradient fill.

See Also

AxialGradientBrush Class | TallComponents.PDF.Brushes Namespace | AxialGradientBrush Constructor Overload List