Class: Reflex::FrameEvent
- Inherits:
-
Event
- Object
- Event
- Reflex::FrameEvent
- Defined in:
- lib/reflex/frame_event.rb
Instance Method Summary collapse
- #depth ⇒ Object (also: #d)
- #height ⇒ Object (also: #h)
- #inspect ⇒ Object
- #width ⇒ Object (also: #w)
- #x ⇒ Object
- #y ⇒ Object
- #z ⇒ Object
Instance Method Details
#depth ⇒ Object Also known as: d
34 35 36 |
# File 'lib/reflex/frame_event.rb', line 34 def depth() frame.depth end |
#height ⇒ Object Also known as: h
30 31 32 |
# File 'lib/reflex/frame_event.rb', line 30 def height() frame.height end |
#inspect ⇒ Object
42 43 44 45 |
# File 'lib/reflex/frame_event.rb', line 42 def inspect() "#<Reflex::FrameEvent x:%g(%g) y:%g(%g) z:%g(%g) w:%g(%g) h:%g(%g) d:%g(%g) zoom:%g(%g) angle:%g(%g)>" % [x, dx, y, dy, z, dz, w, dw, h, dh, d, dd, zoom, dzoom, angle, dangle] end |
#width ⇒ Object Also known as: w
26 27 28 |
# File 'lib/reflex/frame_event.rb', line 26 def width() frame.width end |
#x ⇒ Object
14 15 16 |
# File 'lib/reflex/frame_event.rb', line 14 def x() frame.x end |
#y ⇒ Object
18 19 20 |
# File 'lib/reflex/frame_event.rb', line 18 def y() frame.y end |
#z ⇒ Object
22 23 24 |
# File 'lib/reflex/frame_event.rb', line 22 def z() frame.z end |