PdfGradientFill Constructor
Creates a gradient between two colors
Namespace: EvoPdf.NextAssembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
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