Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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