Name

stringUp( ) — draw a text string vertically

Synopsis

GD::Image::stringUp(font, x, y, string, color)

The stringUp( ) method will draw a string rotated 90 degrees counter-clockwise, with the lower left corner of the text block at the coordinate x, y. The stringUp( )method has no corresponding stringDown( )method. It is really only useful for applications such as labeling axes on a graph. Use the PerlMagick package if you need greater control over the positioning of your text.

Get Programming Web Graphics with Perl and GNU Softwar now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.