Skip to content
IonizeDocsionize.cc ↗

API Reference

Drawing Library

Drawing shapes and text above the game viewport.

6 members

Drawing.new(class: string): Drawing

Creates a render object of the given class.

Drawing.Fonts: table

Table of font identifiers available to text objects.

isrenderobj(object: any): boolean

Returns whether the value is a render object.

getrenderproperty(object: Drawing, property: string): any

Reads a property from a render object.

setrenderproperty(object: Drawing, property: string, value: any): ()

Writes a property on a render object.

cleardrawcache(): ()

Destroys every render object and clears the cache.