PdfGradientFill Constructor
Creates a gradient between two colors
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 21.0.3
public PdfGradientFill(
PdfColor startColor,
PdfColor endColor,
PdfGradientDirection direction = PdfGradientDirection.Vertical
)
Parameters
- startColor PdfColor
- The color at the start of the gradient
- endColor PdfColor
- The color at the end of the gradient
- direction PdfGradientDirection (Optional)
- The direction of the gradient across the shape