downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ImagickDraw::setTextAlignment> <ImagickDraw::setStrokePatternURL
Last updated: Fri, 20 Nov 2009

view this page in

ImagickDraw::setStrokeWidth

(PECL imagick 2.0.0)

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

Description

bool ImagickDraw::setStrokeWidth ( float $stroke_width )
Warning

This function is currently not documented; only its argument list is available.

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

Parameters

stroke_width

stroke width

Return Values

No value is returned.



add a note add a note User Contributed Notes
ImagickDraw::setStrokeWidth
Peter - the Pete - de Pijd
09-Jul-2009 09: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.

 
show source | credits | sitemap | contact | advertising | mirror sites