strText | String | Yes | Text to draw. |
nX1 | Number | Yes | Left top horizontal coordinate for the text warp. |
nY1 | Number | Yes | Left top vertical coordinate for the text warp. |
nX2 | Number | Yes | Right top horizontal coordinate for the text warp. |
nY2 | Number | Yes | Right top vertical coordinate for the text warp. |
nX3 | Number | Yes | Left bottom horizontal coordinate for the text warp. |
nY3 | Number | Yes | Left bottom vertical coordinate for the text warp. |
nX4 | Number | Yes | Right bottom horizontal coordinate for the text warp. |
nY4 | Number | Yes | Right bottom vertical coordinate for the text warp. |
nColorA | Number | Yes | Specifies the first color for the gradient. |
nOpacityA | Number | Yes | Parameter containing the opacity percentage (where 0% is completely transparent) for the first color. |
nColorB | Number | Yes | Specifies the second color for the gradient. |
nOpacityB | Number | Yes | Parameter containing the opacity percentage (where 0% is completely transparent) for the second color. |
nGradient | Gradient (Enumeration) | No | Optional parameter containing the gradient style. |
nShadowColor | Number | No | Optional parameter which specifies the shadow color. |
nShadowOpacity | Number | No | Optional parameter which specifies the shadow opacity. |
nShadowOffset | Number | No | Optional parameter which specifies the shadow distance or offset. If not specified or 0 (zero) an offset is calculated. |
strFontFace | String | No | Optional parameter which specifies the font face. |
nFontSize | Number | No | Optional parameter which specifies the font size. |
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. |
nFontShearX | Number | No | Optional parameter which specifies the horizontal shear percentage of the text. |
nFontShearY | Number | No | Optional parameter which specifies the vertical shear percentage of the text. |