ChartDirector 5.1 (PHP Edition)
phpchartdir.testFont
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
font | (Mandatory) | The font name. See Font Specification for details on various font attributes. |
fontIndex | (Mandatory) | The font index if the font name refers to a font collection. An index of 0 means the first font. |
fontHeight | (Mandatory) | The font height in points. This parameter will not affect font loading if the exact font exists, but will affect which substitution font to use if the font does not exist. |
fontWidth | (Mandatory) | The font width in points. This parameter will not affect font loading if the exact font exists, but will affect which substitution font to use if the font does not exist. |
angle | (Mandatory) | The rotation angle of the text. The angle is measured in degrees in clockwise direction. This parameter will not affect font loading if the exact font exists, but will affect which substitution font to use if the font does not exist. |
Return Value