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

ImagickDraw::translate()

ImagickDraw::translate - Applies a translation to the current coordinate system

Syntax

bool ImagickDraw::translate (float $x, float $y)

Arguments

  • x - horizontal translation
  • y - vertical translation

Description

Applies a translation to the current coordinate system which moves the coordinate system origin to the specified coordinate.

Version

PHP PECL imagick 2.0.0

Return value

No value is returned.