🖼️MayoImage

A picture api

function MayoImage(url: String) -> return Image

To use an image in Mayo GL you can load the image your self but a faster, and built-in way is to use the Image function that will return a HTML Image object ready to be used in drawing.

Example

MayoImage('https://raw.githubusercontent.com/imagineeeinc/MayoGL/main/mayogl.png')

Last updated