Skip to contents

Create an image from text (custom sprite font).

Usage

image_text_ex(font, text, font_size, spacing, tint)

Arguments

font

A font.

text

A string.

font_size

A number.

spacing

A number.

tint

A color.

Value

An image

Note

This function has been auto-generated from the following Raylib function definition:

Image ImageTextEx(Font font, const char * text, float fontSize, float spacing, Color tint);

Examples

if (FALSE) {
image_text_ex(get_font_default(), "Hello", 1.0, 1.0, "red")
}