Image_Text
[ class tree: Image_Text ] [ index: Image_Text ] [ all elements ]

Procedural File: Text.php

Source Location: /pear/Image/Text.php



Classes:

Image_Text
Image_Text - Advanced text maipulations in images


Page Details:

Image_Text - Advanced text maipulations in images

Image_Text provides advanced text manipulation facilities for GD2 image generation with PHP. Simply add text clippings to your images, let the class automatically determine lines, rotate text boxes around their center or top left corner. These are only a couple of features Image_Text provides.




Tags:

author:  Tobias Schlitt <toby@php.net>
license:  The


Includes:

require_once(PEAR.php) [line 24]
Require PEAR file for error handling.






IMAGE_TEXT_ALIGN_BOTTOM [line 56]

IMAGE_TEXT_ALIGN_BOTTOM = "bottom",true
Defines vertical alignment to the to the bottom of the text box.


[ Top ]



IMAGE_TEXT_ALIGN_CENTER [line 43]

IMAGE_TEXT_ALIGN_CENTER = "center",true
Defines horizontal alignment to the center of the text box.


[ Top ]



IMAGE_TEXT_ALIGN_JUSTIFY [line 61]

IMAGE_TEXT_ALIGN_JUSTIFY = "justify",true
TODO: This constant is useless until now, since justified alignment does not work yet


[ Top ]



IMAGE_TEXT_ALIGN_LEFT [line 35]

IMAGE_TEXT_ALIGN_LEFT = "left",true
Defines horizontal alignment to the left of the text box. (This is standard.)


[ Top ]



IMAGE_TEXT_ALIGN_MIDDLE [line 52]

IMAGE_TEXT_ALIGN_MIDDLE = "middle",true
Defines vertical alignment to the to the middle of the text box.


[ Top ]



IMAGE_TEXT_ALIGN_RIGHT [line 39]

IMAGE_TEXT_ALIGN_RIGHT = "right",true
Defines horizontal alignment to the center of the text box.


[ Top ]



IMAGE_TEXT_ALIGN_TOP [line 48]

IMAGE_TEXT_ALIGN_TOP = "top",true
Defines vertical alignment to the to the top of the text box. (This is standard.)


[ Top ]



IMAGE_TEXT_REGEX_HTMLCOLOR [line 30]

IMAGE_TEXT_REGEX_HTMLCOLOR = "/^[#|]([a-f0-9]{2})?([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/i",true
Regex to match HTML style hex triples.


[ Top ]




Documentation generated on Sun, 08 Jan 2012 17:52:05 +0100 by phpDocumentor 1.4.3