clearColor(color = "#000000", opaque = false) {
		const canvas = this.getCanvas();
		const context = this.getContext();

		this.save();
		this.resetTransform();
		context.globalAlpha = 1;
		context.globalCompositeOperation = opaque === true ? "copy" : "source-over";
		context.fillStyle = color instanceof Color ? color.toRGBA() : color;
		this.fillRect(0, 0, canvas.width, canvas.height);
		this.restore();
	}
Clears the main framebuffer with the given color
@param {Color|string} [color="#000000"] - CSS color.
@param {boolean} [opaque=false] - Allow transparency [default] or clear the surface completely [true]