PdfRadialGradientBrush Constructor (PointF, Single, PointF, Single, PdfRGBColor, PdfRGBColor)
|
Initializes a new instance of theclass.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
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
-
Type:
System.Drawing
PointF
The start centre.
-
radiusStart
-
Type:
System
Single
The start radius.
-
centreEnd
-
Type:
System.Drawing
PointF
The end centre.
-
radiusEnd
-
Type:
System
Single
The end radius.
-
colorStart
-
Type:
Spire.Pdf.Graphics
PdfRGBColor
The start color.
-
colorEnd
-
Type:
Spire.Pdf.Graphics
PdfRGBColor
The end color.
See Also