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

ImagickDraw::color()

ImagickDraw::color - Draws color on image

Syntax

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

Arguments

  • x - x coordinate of the paint
  • y - y coordinate of the paint
  • paintMethod - one of the PAINT_ constants

Description

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

Version

PHP PECL imagick 2.0.0

Return value

No value is returned.