x | Specifies the x coordinate (at image position) of the origin at which to start drawing characters in pixels. |
y | Specifies the y coordinate (at the image position) of the origin at which to start drawing characters in pixels. |
glyph | Specifies the glyph to draw. |
color | Specify the color of the text to be drawn in 0xRRGGBB format. |
opa | Specify the opacity (-255 to 0 to 255) of the character to be drawn. Specifying a negative number is valid only when face is dfAlpha, in which case the opacity is removed from the character shape (the smaller the value, the greater the effect). |
aa | Specify whether to perform anti-aliasing. Specifying true performs anti-aliasing. If you specify false, it will not be performed. |
shadowlevel | Specifies the opacity of the shadow. The appropriate value depends on the value of the shadowwidth argument. If 0 is specified, no shadow is drawn. |
shadowcolor | Specifies the color of the shadow in 0xRRGGBB format. |
shadowwidth | Specifies the width (blur) of the shadow. 0 is the sharpest (no blurring), and higher values can blur shadows. |
shadowofsx | Specifies the x-coordinate value of the shadow location in pixels. If 0 is specified, the shadow is drawn directly below. |
shadowofsy | Specifies the y-coordinate value of the shadow location in pixels. If 0 is specified, the shadow is drawn directly below. |