The ImagickDraw class
PHP Manual

ImagickDraw::setStrokeDashArray

(PECL imagick 2.0.0)

ImagickDraw::setStrokeDashArraySpecifies the pattern of dashes and gaps used to stroke paths

Описание

bool ImagickDraw::setStrokeDashArray ( array $dashArray )
Предупреждение

Към момента тази функция не е документирана; наличен е единствено списъкът с аргументите й.

Specifies the pattern of dashes and gaps used to stroke paths. The strokeDashArray represents an array of numbers that specify the lengths of alternating dashes and gaps in pixels. If an odd number of values is provided, then the list of values is repeated to yield an even number of values. To remove an existing dash array, pass a zero number_elements argument and null dash_array. A typical strokeDashArray_ array might contain the members 5 3 2.

Параметри

dashArray

array of floats

Връщани стойности

Връща TRUE при успех.


The ImagickDraw class
PHP Manual