strPath | String | Yes | String containing the path to a font file. If a zero length string is supplied no font file will be loaded (if currently a font file is loaded, it is unloaded). |
strFontFace | String | No | Optional parameter which specifies the font face. If this value is NULL or an empty string and a custom font is loaded, the font face name is automatically retrieved from the font file. |
nFontSize | Number | No | Optional parameter which specifies the font size. |
nFontColor | Number | No | Optional parameter which specifies the font color. |
nFontOpacity | Number | No | Optional parameter which specifies the font opacity. |
bFontBold | State (Enumeration) | No | Optional parameter which enables or disables the bold font style. |
bFontItalic | State (Enumeration) | No | Optional parameter which enables or disables the italic font style. |
bFontUnderline | State (Enumeration) | No | Optional parameter which enables or disables the underline font style. |
bFontStrikeout | State (Enumeration) | No | Optional parameter which enables or disables the strikeout font style. |
bFontAntiAliasing | State (Enumeration) | No | Optional parameter which enables or disables the font anti-aliasing. |
nFontAlignment | Alignment (Enumeration) | No | Optional parameter which specifies the alignment of the text. |
nFontRotation | Number | No | Optional parameter which specifies the rotation angle of the text in degrees. |