Full index

Package indexes


a c f g i l m n o p r t _
a
top
Method addBorder
Image_Text::addBorder() in Image_Text.php
Add a border to your text box This method adds a border with the given settings to your text box.
Method addShadow
Image_Text_Line::addShadow() in Image_Text_Line.php
Add a shadow to your text.
Method addShadow
Image_Text::addShadow() in Image_Text.php
Method align
Image_Text_Line::align() in Image_Text_Line.php
Align the line in a given box width.
Method align
Image_Text::align() in Image_Text.php
Align all lines in the textbox Align all lines in the textbox
c
top
Method colorize
Image_Text_Line::colorize() in Image_Text_Line.php
Set color of the line.
Method colorize
Image_Text::colorize() in Image_Text.php
Colorize the text box
Method countLines
Image_Text::countLines() in Image_Text.php
Get number of lines in this object Get number of lines in this object
Method currentLine
Image_Text::currentLine() in Image_Text.php
Get the current selected line (reference) Get the current selected line (reference)
Method currentToken
Image_Text_Line::currentToken() in Image_Text_Line.php
Return the current selected token Return the current selected token
f
top
Method firstLine
Image_Text::firstLine() in Image_Text.php
Get the first line and select it (reference) Get the first line and select it (reference)
Method firstToken
Image_Text_Line::firstToken() in Image_Text_Line.php
Return the first token and select it Return the first token and select it
g
top
Method getAllLines
Image_Text::getAllLines() in Image_Text.php
Get all lines Get all lines
Method getAllTokens
Image_Text::getAllTokens() in Image_Text.php
Get all tokens of your text in one array Get all tokens of your text in one array
Method getImage
Image_Text::getImage() in Image_Text.php
Return the image resource (reference) Return the image resource (reference)
Method getSize
Image_Text_Line::getSize() in Image_Text_Line.php
Determine the size of the line in a given font and size Determine the size of the line in a given font and size
Method getSize
Image_Text::getSize() in Image_Text.php
Get the size of the text box Get the size of the text box
Method getText
Image_Text_Line::getText() in Image_Text_Line.php
Returns the line text Returns the line text
Method getTokens
Image_Text_Line::getTokens() in Image_Text_Line.php
Returns the lines tokens Returns the lines tokens
i
top
Variable $img
Image_Text::$img in Image_Text.php
The image generated
Method Image_Text
Image_Text::Image_Text() in Image_Text.php
Constructor Constructor
Class Image_Text
Image_Text in Image_Text.php
Image_Text A generic class for text operations on images
Constant IMAGE_TEXT_ALIGN_CENTER
IMAGE_TEXT_ALIGN_CENTER in Image_Text.php
Constant IMAGE_TEXT_ALIGN_LEFT
IMAGE_TEXT_ALIGN_LEFT in Image_Text.php
Constant IMAGE_TEXT_ALIGN_RIGHT
IMAGE_TEXT_ALIGN_RIGHT in Image_Text.php
Method Image_Text_Line
Image_Text_Line::Image_Text_Line() in Image_Text_Line.php
Constructor Constructor
Class Image_Text_Line
Image_Text_Line in Image_Text_Line.php
Image_Text_Line Class that represents a line in the Image_Text object
Constant IMAGE_TEXT_REGEX_HTMLCOLOR
IMAGE_TEXT_REGEX_HTMLCOLOR in Image_Text.php
Page Image_Text_Line.php
Image_Text_Line.php in Image_Text_Line.php
Page Image_Text.php
Image_Text.php in Image_Text.php
l
top
Variable $lines
Image_Text::$lines in Image_Text.php
The lines of the text
m
top
Method measurize
Image_Text::measurize() in Image_Text.php
Measure the text in the box This function trys to find out the best measures for a given text. It determines the optimal font size and the lines and their content in the box.
n
top
Method nextLine
Image_Text::nextLine() in Image_Text.php
Get the next line and select it (reference) Get the next line and select it (reference)
Method nextToken
Image_Text_Line::nextToken() in Image_Text_Line.php
Return the next token and select it Return the next token and select it
o
top
Variable $options
Image_Text::$options in Image_Text.php
Options array, these options can be set through the constructor, fontFile and fontPath, width and height are obligatory
Variable $options
Image_Text_Line::$options in Image_Text_Line.php
Fontsize of the line.
Method outImage
Image_Text::outImage() in Image_Text.php
Output image to stdout (normaly browser) Output image to stdout (normaly browser)
p
top
Method popToken
Image_Text_Line::popToken() in Image_Text_Line.php
Pop a token from the line Pop a token from the line
Method pushToken
Image_Text_Line::pushToken() in Image_Text_Line.php
Add a token to the line Add a token to the line
r
top
Method renderImage
Image_Text::renderImage() in Image_Text.php
Render the text to an image Render the text to an image
Method rotate
Image_Text_Line::rotate() in Image_Text_Line.php
NOT CORRECT IMPLEMENTED YET!!!
Method rotate
Image_Text::rotate() in Image_Text.php
NOT CORRECT IMPLEMENTED YET!!!
t
top
Variable $tokens
Image_Text_Line::$tokens in Image_Text_Line.php
Array of string tokens, building the line.
Method toImage
Image_Text_Line::toImage() in Image_Text_Line.php
Render the line to an image Render the line to an image
_
top
Variable $_current
Image_Text::$_current in Image_Text.php
Stores the current line key (in lack of array_funtions returning references
Method _checkImageType
Method _checkOptions
Image_Text::_checkOptions() in Image_Text.php
Check the options array Check the options array
Method _newImage
Image_Text::_newImage() in Image_Text.php
Create a new image Create a new image
Method _prepareImage
Image_Text::_prepareImage() in Image_Text.php
Prepare the image for output Prepare the image for output
Method _testMeasure
Image_Text::_testMeasure() in Image_Text.php
The actual measurizer process The actual measurizer process, called recursively for a special font and font size from attribute maxFontSize until it finds a fitting solution or attribute minFontSize is reached.
a c f g i l m n o p r t _