Gládio Cítrico

Ramu 0.7b doc

doc homeRamu

static image Ramu.Utils.getImage(src)

Parameters

Return

image: The image.

Description

Get a image from the src.

You can test this snippet of code here.

const img = Ramu.Utils.getImage("https://i.imgur.com/E0Z8YMr.png");
let ramuLogo = new Sprite(img, 10, 10, 59, 70);