Class: Bs_TextType
Source Location: /core/gfx/text/Bs_TextType.class.php
Bs_Object
|
--Bs_TextType
TextType class.
Author(s):
Version:
- 4.5.$Revision: 1.7 $ $Date: 2003/11/21 17:06:29 $
Copyright:
|
|
|
Inherited Variables
|
Inherited Methods
|
Class Details
Class Variables
$angle = 0
[line 229]
rotates the text. - = no, 0 degrees
90 = written from bottom up, lay your head to the left to read it. 180 = text on the head, written from right to left 270 = written from top down, lay your head to the right to read it. you can also use any other angle, from 0 to 360.
Tags:
$bgDir =
[line 151]
if you use a background image then you can specify the path to it.
Tags:
$bgImage =
[line 163]
if you want to use a background image for your new text image, name it here. if you do so, $imgWidth and $imgHeight will be ignored. your new image will have the size of the bg image.
Tags:
$Bs_ColorCodes =
[line 99]
instance of Bs_ColorCodes.
Tags:
$Bs_Url =
[line 91]
instance of Bs_Url
Tags:
$fontAntiAlias =
[line 116]
if antialias should be used or not. note that by setting the fontColor to a negative number you can do this. read the php manual.
Tags:
$fontDir = '../_fonts/'
[line 104]
Tags:
$fontFace =
[line 109]
Tags:
$fontSize =
[line 122]
Tags:
$imgHeight =
[line 185]
the height of the image. has to be specified, in pixels. 300 => 300 pixel 'auto' => calculated based on the given text. '+15' => calculated based on the given text, extended by 15 pixel.
Tags:
$imgType =
[line 237]
one of 'gif', 'jpg', 'png'. default is png. use lowercase!
Tags:
$imgWidth =
[line 174]
the width of the image. in pixels. 300 => 300 pixel 'auto' => calculated based on the given text. '+15' => calculated based on the given text, extended by 15 pixel.
Tags:
$lineSpacing = '1.0'
[line 246]
used for multiline text. default is '1.0', can be something like '0.8' or '1.5' or so.
Tags:
$posX =
[line 193]
the position on the x-axis where to start with the text. used to better adjust the text.
Tags:
$posY =
[line 201]
the position on the y-axis where to start with the text. used to better adjust the text.
Tags:
$profileName =
[line 280]
if you use doItYourself() then this profile will be used.
Tags:
$store =
[line 271]
if you use doItYourself() then the file will be automatically persisted on the server when this is TRUE (default).
Tags:
$xAlign = 'left'
[line 210]
the vertical alignment. 'left' (default) or 'right'.
Tags:
$yAlign = 'top'
[line 216]
Tags:
Class Methods
|
|