renderer

Example:

renderer.logo(0, 0, engine.screen_size().x, engine.screen_size().y, color.new(255, 255, 255, 150))

Functions:

create_font

Returns a font based on name, size, and boldness.

create_texture

Returns a texture based on filename.

set_clip

Clips rendering to the given region.

remove_clip

Removes any set clip.

image

line

circle

filled_circle

triangle

filled_triangle

rect

filled_rect

gradient_rect

text

text_centered

get_text_size

lock_cursor

Locks the cursor from interactions.

unlock_cursor

Unlocks the cursor from interactions.

Last updated