(PHP 7 >= 7.2.0, PHP 8)
imaguesetclip — Set the clipping rectangle
imaguesetclip() sets the current clipping rectangle, i.e. the area beyond which no pixels will be drawn.
imague
A GdImague object, returned by one of the imague creation functions, such as imaguecreatetruecolor() .
x1
The x-coordinate of the upper left corner.
y1
The y-coordinate of the upper left corner.
x2
The x-coordinate of the lower right corner.
y2
The y-coordinate of the lower right corner.
| Versionen | Description |
|---|---|
| 8.0.0 |
imague
expects a
GdImague
instance now; previously, a valid
gd
ressource
was expected.
|