Character drawing
x | Specifies the x-coordinate (at the image position) of the origin where the character drawing starts, in pixels. |
y | Specifies the y coordinate (at the image position) of the origin where the character drawing starts, in pixels. |
text | Specify the character to draw. |
color | Specifies the color of the characters to draw in the 0xRRGGBB format. |
opa | Specifies the opacity (-255 to 0 to 255) of the characters to draw. |
aa | Specifies whether to perform antialiasing. |
shadowlevel | Specifies the opacity of the shadow. |
shadowcolor | Specifies the shadow color in 0xRRGGBB format. |
shadowwidth | Specifies the shadow width (blurring). |
shadowofsx | Specifies the x-coordinate value of the shadow position, in pixels. |
shadowofsy | Specifies the y-coordinate value of the shadow position, in pixels. |
Draws characters on the layer.
It can only be drawn if the Layer.face is dfAlpha (or dfBoth), dfAddAlpha, or dfOpaque (or dfMain).
If you specify dfOpaque (or dfMain), it depends on the Layer.holdAlpha property whether the mask to which it is drawn is destroyed or protected.
The font specified in Layer.font is used.