(PECL imagick 2, PECL imagick 3)

ImagickDraw::setStrokeAntialiasControls whether stroked outlines are antialiased


public ImagickDraw::setStrokeAntialias ( bool $stroke_antialias ) : bool

Questa funzione, al momento non è documentata; è disponibile soltanto la lista degli argomenti.

Controls whether stroked outlines are antialiased. Stroked outlines are antialiased by default. When antialiasing is disabled stroked pixels are thresholded to determine if the stroke color or underlying canvas color should be used.

Elenco dei parametri


the antialias setting

Valori restituiti

Nessun valore viene restituito.


Example #1 ImagickDraw::setStrokeAntialias()

function setStrokeAntialias($strokeColor$fillColor$backgroundColor) {

$draw = new \ImagickDraw();




$image = new \Imagick();


header("Content-Type: image/png");


add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top