Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

DynaPDF.SetMiterLimit

Sets the miter limit.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetMiterLimit"; PDF; Value )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Value The new miter limit. 10.0

Result

Returns OK or error.

Description

Sets the miter limit.
When two line segments meet at a sharp angle and mitered joins have been specified as the line join style (see SetLineJoinStyle()), 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 (see Figure below). When the limit is exceeded, the join is converted from a miter to a bevel.
Default value = 10.0
See also SetMiterLimit function in dynapdf_help.pdf.

See also SetMiterLimit function in DynaPDF manual.

See also

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014


DynaPDF.SetMetadata - DynaPDF.SetNeedAppearance

💬 Ask a question or report a problem