Search found 2 matches

by RainBowDash
2014-10-29T11:40:12-07:00
Forum: IMagick
Topic: Call to undefined method ImagickDraw::setStrokeType()
Replies: 3
Views: 12059

Re: Call to undefined method ImagickDraw::setStrokeType()

Bonzo wrote:There does not seem to be an option ImagickDraw::setStrokeType(): http://php.net/manual/en/class.imagickdraw.php
What? Standard stroke makes it inside, I need outside....
Do not specify this parameter?
by RainBowDash
2014-10-29T11:06:13-07:00
Forum: IMagick
Topic: Call to undefined method ImagickDraw::setStrokeType()
Replies: 3
Views: 12059

Call to undefined method ImagickDraw::setStrokeType()

PHP Fatal error: Call to undefined method ImagickDraw::setStrokeType()
$dn= new ImagickDraw();
$dn->setFont('Roboto-Medium.ttf');
$dn->setFillColor('#FF0000');
$dn->setFontSize(13); $dn->setStrokeColor('white'); $dn->setStrokeWidth(1); $dn->setStrokeType(StrokeType.OUTSIDE);
$b_im->annotateImage ...