 | PdfiumFPDFPageObj_SetMiterLimit Method |
Set the maximum length of mitered line joins for stroked paths.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static void FPDFPageObj_SetMiterLimit(
IntPtr page_obj,
float miterLimit
)
Public Shared Sub FPDFPageObj_SetMiterLimit (
page_obj As IntPtr,
miterLimit As Single
)
public:
static void FPDFPageObj_SetMiterLimit(
IntPtr page_obj,
float miterLimit
)
static member FPDFPageObj_SetMiterLimit :
page_obj : IntPtr *
miterLimit : float32 -> unit
public static void FPDFPageObj_SetMiterLimit(
IntPtr page_obj,
float miterLimit
)
Patagames.Pdf.Pdfium.FPDFPageObj_SetMiterLimit = function(page_obj, 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