method
Screen.clip_reset
Screen.clip_reset()
Clears any clip rectangle set by Screen.clip, restoring drawing to the whole framebuffer. Call it once you are done drawing inside a masked region.
Example
program Demo {
handler DrawWorld phase Render {
Screen.clip(x: 0, y: 0, width: 64, height: 64)
Screen.circle(x: 32, y: 32, radius: 40, color: Color.Yellow)
Screen.clip_reset()
Screen.show()
}
}