ImageDrawText
Last updated
Was this helpful?
Was this helpful?
// Draw text at (10, 20)
img = ImageDrawText(myImage, "Hello World", 10, 20);
// Draw text with full styling
attrs = {
font: "Arial",
size: 24,
style: "bold",
underline: true,
strikethrough: false
};
img = ImageDrawText(myImage, "Styled Text", 10, 20, attrs);
// Chain with color setup
img.setDrawingColor("blue")
.drawText("Blue Text", 100, 100, { size: 18, style: "italic" });