Initializes a new instance of the class.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public PdfLinearGradientBrush( PointF point1, PointF point2, PdfRGBColor color1, PdfRGBColor color2 )
Public Sub New ( point1 As PointF, point2 As PointF, color1 As PdfRGBColor, color2 As PdfRGBColor )
public: PdfLinearGradientBrush( PointF point1, PointF point2, PdfRGBColor color1, PdfRGBColor color2 )
new : point1 : PointF * point2 : PointF * color1 : PdfRGBColor * color2 : PdfRGBColor -> PdfLinearGradientBrush
Parameters
- point1
- PointF
The starting point of the gradient.
- point2
- PointF
The end point of the gradient.
- color1
- PdfRGBColor
The starting color of the gradient.
- color2
- PdfRGBColor
The end color of the gradient.