Method: Gosu::Window#clip_to
- Defined in:
- lib/gosu_android/main-window.rb
#clip_to(x, y, w, h, &rendering_code) ⇒ Object
Limits the drawing area to a given rectangle while evaluating the code inside of the block.
269 |
# File 'lib/gosu_android/main-window.rb', line 269 def clip_to(x, y, w, h, &rendering_code); end |