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.
See Also
- ps_arc
- ps_cirle
- ps_lineto