public function setCoordinates($x = false, $y = false)
    {
        if (($x === false) || ($y === false)) {
            $this->x = $this->y = false;

            return;
        }
        $this->x = (integer) $x;
        $this->y = (integer) $y;
    }
public function setCoordinates($x = false, $y = false)
    {
        if (($x === false) || ($y === false)) {
            $this->x = $this->y = false;

            return;
        }
        $this->x = (integer) $x;
        $this->y = (integer) $y;
    }
public function setCoordinates ( $ x = false , $ y = false ) { if ( ( $ x === false ) || ( $ y === false ) ) { $ this -> x = $ this -> y = false ; return ; } $ this -> x = ( integer ) $ x ; $ this -> y = ( integer ) $ y ; }
Sets image coordinates. Set to false to clear them.

@param int $x    Horizontal position.
@param int $y    Vertical position.
Sets image coordinates . Set to false to clear them .