Home > PHP > Function > PS > ps_show_xy()

ps_show_xy()

ps_show_xy - Output text at given position

Syntax

bool ps_show_xy (resource $psdoc, string $text, float $x, float $y)

Arguments

  • psdoc - Resource identifier of the postscript file as returned by ps_new().
  • text - The text to be output.
  • x - x-coordinate of the lower left corner of the box surrounding the text.
  • y - y-coordinate of the lower left corner of the box surrounding the text.

Description

Output a text at the given text position.

Version

PHP PECL ps >= 1.1.0

Return value

Returns TRUE on success or FALSE on failure.