Click or drag to resize

PdfDrawingSurfaceFill Method

Paints the current path using the specified fill method and color then clears the current path.

Namespace:  Atalasoft.PdfDoc.Generating.Rendering
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public abstract void Fill(
	PdfFillMethod fillMethod,
	IPdfColor color
)

Parameters

fillMethod
Type: Atalasoft.PdfDoc.Generating.RenderingPdfFillMethod
The fill method for the path.
color
Type: Atalasoft.PdfDoc.GeneratingIPdfColor
The color used to fill the path.
Examples
drawingSurface.AddPath(shape);
drawingSurface.Fill(PdfFillMethod.EvenOdd, fillColor);
See Also