PEAR Manual
Prev |  | Next

# constructor Image_Text::Image_Text()

constructor Image_Text::Image_Text() -- Constructor

## Synopsis

    require_once 'ImageText.php';

``void constructor Image_Text::Image_Text` (string $text [, array $options = `NULL`])`

## Description

Set the text and options. This initializes a new Image_Text object. You must set your text here. Optinally you can set all options here using the $options parameter. If you finished switching all options you have to call the init() method first befor doing anything further! See Image_Text::set() for further information.

## Parameter

string `$text`

  Text to print.

array `$options`

  Options.

## Throws

throws no exceptions thrown

## See

see Image_Text::set(), Image_Text::set(), Image_Text::init()

## Note

This function can not be called statically.

Prev | Home | Next
Class Summary Image_Text | Up | Image_Text::autoMeasurize()