Home > PHP > Function > > ImagickDraw::push()

ImagickDraw::push()

ImagickDraw::push - Clones the current ImagickDraw and pushes it to the stack

Syntax

bool ImagickDraw::push ()

Arguments

-

Description

Clones the current ImagickDraw to create a new ImagickDraw, which is then added to the ImagickDraw stack. The original drawing ImagickDraw(s) may be returned to by invoking pop(). The ImagickDraws are stored on a ImagickDraw stack. For every Pop there must have already been an equivalent Push.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success or FALSE on failure.