php8.5
Home/ Manual/ imagick / imagickdraw/ ImagickDraw::color

ImagickDraw::color

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Draws color on image

Description

ImagickDraw::color(float $x, float $y, int $paint): bool

Func

Draws color on image using the current fill color, starting at specified position, and using specified paint method.

Parameters

x

x coordinate of the paint

y

y coordinate of the paint

paint

One of the PAINT constant (imagick::PAINT_*).

Return Values

Void

Source: reference/imagick/imagickdraw/color.xml · from the official PHP manual (php/doc-en)