imageDrawText function
Draw text (using default font) within an image (destination).
Implementation
void imageDrawText(
Image dst,
String text,
int posX,
int posY,
int fontSize,
Color color,
) {
return library.ImageDrawText(
dst.pointer,
string.toNative(text),
posX,
posY,
fontSize,
color.ref,
);
}