Click or drag to resize

PdfDrawingSurfaceFillAndStroke Method

Paints then strokes the current path using the specified parameters, 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 FillAndStroke(
	PdfFillMethod fillMethod,
	IPdfColor fillColor,
	PdfLineStyle style,
	IPdfColor lineColor
)

Parameters

fillMethod
Type: Atalasoft.PdfDoc.Generating.RenderingPdfFillMethod
The fill method that will be used to fill the path.
fillColor
Type: Atalasoft.PdfDoc.GeneratingIPdfColor
The Color used for filling the path.
style
Type: Atalasoft.PdfDoc.Generating.RenderingPdfLineStyle
The style of the line used to stroke the path.
lineColor
Type: Atalasoft.PdfDoc.GeneratingIPdfColor
The Color of the line used to stroke the path.
Examples
drawingSurface.AddPath(shape);
drawingSurface.FillAndStroke(PdfFillMethod.EvenOff, fillColor, lineStyle, lineColor);
See Also