Class: Reflex::DrawEvent
- Inherits:
-
Event
- Object
- Event
- Reflex::DrawEvent
- Defined in:
- lib/reflex/draw_event.rb
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
14 15 16 |
# File 'lib/reflex/draw_event.rb', line 14 def inspect() "#<Reflex::DrawEvent painter:#{painter} bounds:#{bounds} dt:#{dt} fps:#{fps}>" end |
#paint(&block) ⇒ Object
10 11 12 |
# File 'lib/reflex/draw_event.rb', line 10 def paint(&block) Xot::BlockUtil.instance_eval_or_block_call painter, &block if block end |