render method
Implementation
void render(Canvas canvas) {
if (this.visible == false || this.alpha == 0) return;
this.canvas = canvas;
canvas.save();
this.transform(canvas);
this.draw(canvas);
canvas.restore();
}
void render(Canvas canvas) {
if (this.visible == false || this.alpha == 0) return;
this.canvas = canvas;
canvas.save();
this.transform(canvas);
this.draw(canvas);
canvas.restore();
}