ImagickDraw
在线手册:中文 英文
PHP手册

ImagickDraw::setStrokeWidth

(PECL imagick 2.0.0)

ImagickDraw::setStrokeWidthSets the width of the stroke used to draw object outlines

说明

bool ImagickDraw::setStrokeWidth ( float $stroke_width )
Warning

本函数还未编写文档,仅有参数列表。

Sets the width of the stroke used to draw object outlines.

参数

stroke_width

stroke width

返回值

没有返回值。


ImagickDraw
在线手册:中文 英文
PHP手册
PHP手册 - N: Sets the width of the stroke used to draw object outlines

用户评论:

Peter - the Pete - de Pijd (09-Jul-2009 10:31)

If you set the stroke width to 0, there will often still be a hairline. To remove this hairline, use transparency, f.e. using:
setStrokeColor("#00000000")
hex 0-6 = color -> black
hex 6-8 = opacity -> full transparency

r dot vinke at gmail dot com (03-Nov-2008 02:27)

Please note that this function only works (as in: the stroke width changes) when setStrokeColor() is called before.