Cpdf::rect
draw a rectangle, note that it is the width and height of the rectangle which are the secondary parameters, not the coordinates of the upper-right corner
Signature
public function rect(
$x1,
$y1,
$width,
$height )
Parameters
$x1
—$y1
—$width
—$height
—