Click or drag to resize

PdfDrawingSurfaceStroke Method

Strokes the current path in the specified style 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 Stroke(
	PdfLineStyle style,
	IPdfColor color
)

Parameters

style
Type: Atalasoft.PdfDoc.Generating.RenderingPdfLineStyle
The line style that will be used to draw the path.
color
Type: Atalasoft.PdfDoc.GeneratingIPdfColor
The color of the line that will be drawn.
Examples
drawingSurface.AddRect(boundingRect);
drawingSurface.Stroke(currentStyle, outlineColor);
See Also