imageTextEx function
Create an image from text (custom sprite font).
Implementation
Image imageTextEx(
Font font,
String text,
double fontSize,
double spacing,
Color tint,
) {
return Image.fromRef(
library.ImageTextEx(
font.ref,
string.toNative(text),
fontSize,
spacing,
tint.ref,
),
);
}