Conical fill in PDF Export

We use itextSharpPdf library in our PDF export. And unfortunately, itextSharpPDF doesn't support conical fill. It only provides linear and spherical fills:

public static PdfShading SimpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, Color startColor, Color endColor);
 
public static PdfShading SimpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, Color startColor, Color endColor, bool extendStart, bool extendEnd);
 
public static PdfShading SimpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, Color startColor, Color endColor);
 
public static PdfShading SimpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, Color startColor, Color endColor, bool extendStart, bool extendEnd);

So, be aware that conical fill won't be exported into PDF properly.

Add Feedback