Click or drag to resize

PdfiumFPDFPageObj_SetMiterLimit Method

Set the maximum length of mitered line joins for stroked paths.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static void FPDFPageObj_SetMiterLimit(
	IntPtr page_obj,
	float miterLimit
)

Parameters

page_obj  IntPtr
Handle to a page object. Returned by FPDFPageObj_Create(PageObjectTypes) or FPDFPage_GetObject(IntPtr, Int32)
miterLimit  Single
This parameter limits the length of “spikes” produced when line segments join at sharp angles.
Remarks
When two line segments meet at a sharp angle and Miter have been specified as the line join style, it is possible for the miter to extend far beyond the thickness of the line stroking the path. The miter limit imposes a maximum on the ratio of the miter length to the line width. When the limit is exceeded, the join is converted from a Miter to a Bevel.
FIGURE 4.7 Miter length
See Also