ImagickDraw::pathStart

(PECL imagick 2.0.0)

ImagickDraw::pathStartDeclares the start of a path drawing list

Description

bool ImagickDraw::pathStart ( void )
Warning

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

Declares the start of a path drawing list which is terminated by a matching DrawPathFinish() command. All other DrawPath commands must be enclosed between a and a DrawPathFinish() command. This is because path drawing commands are subordinate commands and they do not function by themselves.

Return Values

No value is returned.

Коментарии

Автор:
Between $draw->pathStart() and $draw->pathFinish() you would need to start with $draw->pathMoveToAbsolute(x, y) to initialise the position. All the subsequent calls to "path functions" (including absolute ones) will continue the path.

I would expect pathStart to accept the starting coordinates, and it took me a while to realise that there you need to initialise with a different function.
2024-01-19 09:19:25
http://php5.kiev.ua/manual/ru/imagickdraw.pathstart.html

    Поддержать сайт на родительском проекте КГБ