Class ImageFont

Description

Located in /web/mod/mod.imagefont.php (line 17)

_AbstractImage
   |
   --ImageFont
Variable Summary
mixed $CharHeight
mixed $Chars
mixed $CharWidth
mixed $DefChar
mixed $OrigHeight
mixed $OrigWidth
mixed $Res
Method Summary
ImageFont ImageFont ( $Img,  $aChars, [ $aDefChar = null])
void calcWidth ( $Text)
void cleanString ( $text)
void setCenter ( $hCenter,  $vCenter)
void setSize ( $width,  $height)
void setSizeFactor ( $factor)
void setSpacing ( $hSpacing,  $vSpacing)
void writeChar ( $aResource,  $Left,  $Top,  $Char)
void writeText ( $aResource,  $Left,  $Top,  $aText, [ $MaxWidth = null])
Variables
mixed $CharHeight (line 24)
mixed $Chars (line 20)
mixed $CharWidth (line 23)
mixed $DefChar (line 25)
mixed $OptionHCenter = false (line 26)
mixed $OptionHSpacing (line 27)
mixed $OptionVSpacing (line 28)
mixed $OrigHeight (line 22)
mixed $OrigWidth (line 21)
mixed $Res (line 19)

Inherited Variables

Inherited from _AbstractImage

_AbstractImage::$_Loader
Methods
Constructor ImageFont (line 30)
ImageFont ImageFont ( $Img,  $aChars, [ $aDefChar = null])
  • $Img
  • $aChars
  • $aDefChar
calcWidth (line 99)
void calcWidth ( $Text)
  • $Text
cleanString (line 67)
void cleanString ( $text)
  • $text
setCenter (line 141)
void setCenter ( $hCenter,  $vCenter)
  • $hCenter
  • $vCenter
setSize (line 153)
void setSize ( $width,  $height)
  • $width
  • $height
setSizeFactor (line 159)
void setSizeFactor ( $factor)
  • $factor
setSpacing (line 147)
void setSpacing ( $hSpacing,  $vSpacing)
  • $hSpacing
  • $vSpacing
writeChar (line 46)
void writeChar ( $aResource,  $Left,  $Top,  $Char)
  • $aResource
  • $Left
  • $Top
  • $Char
writeText (line 104)
void writeText ( $aResource,  $Left,  $Top,  $aText, [ $MaxWidth = null])
  • $aResource
  • $Left
  • $Top
  • $aText
  • $MaxWidth

Inherited Methods

Inherited From _AbstractImage

_AbstractImage::_AbstractImage()
_AbstractImage::getData()
_AbstractImage::getHeight()
_AbstractImage::getInfo()
_AbstractImage::getMime()
_AbstractImage::getWidth()
_AbstractImage::printData()
_AbstractImage::saveToDB()
_AbstractImage::saveToFile()

Documentation generated on Mon, 22 Oct 2007 17:17:24 +0200 by phpDocumentor 1.3.1