Initializes a new instance of the PdfRadialGradientBrush 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[] colors,
	float[] positions
)
Public Sub New ( 
	centreStart As PointF,
	radiusStart As Single,
	centreEnd As PointF,
	radiusEnd As Single,
	colors As PdfRGBColor(),
	positions As Single()
)
public:
PdfRadialGradientBrush(
	PointF centreStart, 
	float radiusStart, 
	PointF centreEnd, 
	float radiusEnd, 
	array<PdfRGBColor>^ colors, 
	array<float>^ positions
)
new : 
        centreStart : PointF * 
        radiusStart : float32 * 
        centreEnd : PointF * 
        radiusEnd : float32 * 
        colors : PdfRGBColor[] * 
        positions : float32[] -> PdfRadialGradientBrush

Parameters

centreStart
PointF
radiusStart
Single
centreEnd
PointF
radiusEnd
Single
colors
array<PdfRGBColor>[]()[][]
positions
array<Single>[]()[][]

See Also