php8.5
Home/ Manual/ imagick / imagickdraw/ ImagickDraw::getStrokeMiterLimit

ImagickDraw::getStrokeMiterLimit

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Returns the stroke miter limit

Description

ImagickDraw::getStrokeMiterLimit(): int

Func

Returns the miter limit. When two line segments meet at a sharp angle and miter joins have been specified for 'lineJoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path. The 'miterLimit' imposes a limit on the ratio of the miter length to the 'lineWidth'.

Return Values

Returns an int describing the miter limit and 0 if no miter limit is set.

Source: reference/imagick/imagickdraw/getstrokemiterlimit.xml · from the official PHP manual (php/doc-en)