[ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TFont class file.
Author: | Qiang Xue <qiang.xue@gmail.com> |
Copyright: | Copyright © 2005 PradoSoft |
License: | http://www.pradosoft.com/license/ |
Version: | $Id: TFont.php 1397 2006-09-07 07:55:53Z wei $ |
Poids: | 319 lignes (8 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
TFont:: (20 méthodes):
getBold()
setBold()
getItalic()
setItalic()
getOverline()
setOverline()
getSize()
setSize()
getStrikeout()
setStrikeout()
getUnderline()
setUnderline()
getName()
setName()
getIsEmpty()
reset()
mergeWith()
copyFrom()
toString()
addAttributesToRender()
getBold() X-Ref |
return: boolean whether the font is in bold face. Defaults to false. |
setBold($value) X-Ref |
param: boolean whether the font is in bold face |
getItalic() X-Ref |
return: boolean whether the font is in italic face. Defaults to false. |
setItalic($value) X-Ref |
param: boolean whether the font is italic |
getOverline() X-Ref |
return: boolean whether the font is overlined. Defaults to false. |
setOverline($value) X-Ref |
param: boolean whether the font is overlined |
getSize() X-Ref |
return: string the font size |
setSize($value) X-Ref |
param: string the font size |
getStrikeout() X-Ref |
return: boolean whether the font is strikeout. Defaults to false. |
setStrikeout($value) X-Ref |
param: boolean whether the font is strikeout |
getUnderline() X-Ref |
return: boolean whether the font is underlined. Defaults to false. |
setUnderline($value) X-Ref |
param: boolean whether the font is underlined |
getName() X-Ref |
return: string the font name (family) |
setName($value) X-Ref |
param: string the font name (family) |
getIsEmpty() X-Ref |
return: boolean whether the font is empty |
reset() X-Ref |
Clears up the font. |
mergeWith($font) X-Ref |
Merges the font with a new one. If a font field is not set in the font, it will be overwritten with the new one. param: TFont the new font |
copyFrom($font) X-Ref |
Copies the fields in a new font to this font. If a font field is set in the new font, the corresponding field in this font will be overwritten. param: TFont the new font |
toString() X-Ref |
return: string the font in a css style string representation. |
addAttributesToRender($writer) X-Ref |
Adds attributes related to CSS styles to renderer. param: THtmlWriter the writer used for the rendering purpose |
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |