Initializes a new instance of the class.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfRadialGradientBrush(
	PointF centreStart,
	float radiusStart,
	PointF centreEnd,
	float radiusEnd,
	PdfRGBColor colorStart,
	PdfRGBColor colorEnd
)
Public Sub New ( 
	centreStart As PointF,
	radiusStart As Single,
	centreEnd As PointF,
	radiusEnd As Single,
	colorStart As PdfRGBColor,
	colorEnd As PdfRGBColor
)
public:
PdfRadialGradientBrush(
	PointF centreStart, 
	float radiusStart, 
	PointF centreEnd, 
	float radiusEnd, 
	PdfRGBColor colorStart, 
	PdfRGBColor colorEnd
)
new : 
        centreStart : PointF * 
        radiusStart : float32 * 
        centreEnd : PointF * 
        radiusEnd : float32 * 
        colorStart : PdfRGBColor * 
        colorEnd : PdfRGBColor -> PdfRadialGradientBrush

Parameters

centreStart
PointF
The start centre.
radiusStart
Single
The start radius.
centreEnd
PointF
The end centre.
radiusEnd
Single
The end radius.
colorStart
PdfRGBColor
The start color.
colorEnd
PdfRGBColor
The end color.

See Also