Gládio Cítrico

Ramu 0.7b doc

doc homeRamu

Panorama.canDraw(bool)

Parameters

bool bool: Flag to tells whether it will be drawn or not.

Description

Set the value of canDraw of its sprites.

You can test this snippet of code here.

let img = Ramu.Utils.getImage("https://github.com/HermesPasser/Ramu/blob/master/demos/img/montains.png?raw=true");
let panorama = new Panorama(img, 0, 0, 500, 500);
panorama.canDraw(true);