Home > PHP > Function > > ImagickDraw::getStrokeMiterLimit()

ImagickDraw::getStrokeMiterLimit()

ImagickDraw::getStrokeMiterLimit - Returns the stroke miter limit

Syntax

int ImagickDraw::getStrokeMiterLimit ()

Arguments

-

Description

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'.

Version

PHP PECL imagick 2.0.0

Return value

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