ps_rect
(PECL ps:1.1.0-1.3.5)
ps_rect — Draws a rectangle
Description
bool ps_rect
( resource $psdoc
, float $x
, float $y
, float $width
, float $height
)
Parameters
-
psdoc
-
Resource identifier of the postscript file
as returned by ps_new().
-
x
-
x-coordinate of the lower left corner of the rectangle.
-
y
-
y-coordinate of the lower left corner of the rectangle.
-
width
-
The width of the image.
-
height
-
The height of the image.
Return Values
Returns TRUE on success or FALSE on failure.