Call to undefined method ImagickDraw::setStrokeType()
Posted: 2014-10-29T11:06:13-07:00
PHP Fatal error: Call to undefined method ImagickDraw::setStrokeType()
what am I doing wrong?
Code: Select all
$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( $dn , 80 , 18 , 0 , $text ) ;
what am I doing wrong?