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
ImagickDraw::setStrokeWidth
(PECL imagick 2.0.0)
ImagickDraw::setStrokeWidth — オブジェクトの枠線の描画に使用する線の幅を設定する
説明
bool ImagickDraw::setStrokeWidth
( float
$stroke_width
)警告
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
オブジェクトの枠線の描画に使用する線の幅を設定します。
パラメータ
-
stroke_width -
線の幅。
返り値
値を返しません。
Peter - the Pete - de Pijd
09-Jul-2009 02:31
r dot vinke at gmail dot com
03-Nov-2008 06:27
Please note that this function only works (as in: the stroke width changes) when setStrokeColor() is called before.
