Last updated
drawTexture(
url,x,y,w,h,tint):void
Draws an image from an http/https URL with a flat colour tint. The download happens asynchronously; the call is silently skipped until the image is ready. Results are cached after the first successful load.
string
An http/https image URL.
number
The x position.
number
The y position.
number
The width.
number
The height.
The tint color (use Color(255,255,255,255) for no tint).
void
Last updated