Module: Graphics
- Defined in:
- lib/graphics.rb
Class Attribute Summary collapse
-
.brightness ⇒ Object
Returns the value of attribute brightness.
-
.frame_count ⇒ Object
Returns the value of attribute frame_count.
-
.frame_rate ⇒ Object
Returns the value of attribute frame_rate.
Class Method Summary collapse
- .fadein(duration) ⇒ Object
- .fadeout(duration) ⇒ Object
- .frame_reset ⇒ Object
- .freeze ⇒ Object
- .height ⇒ Object
- .play_movie(filename) ⇒ Object
- .resize_screen(width, height) ⇒ Object
- .snap_to_bitmap ⇒ Object
- .transition(duration = 10, filename = nil, vague = 40) ⇒ Object
- .update ⇒ Object
- .wait(duration) ⇒ Object
- .width ⇒ Object
Class Attribute Details
.brightness ⇒ Object
Returns the value of attribute brightness.
56 57 58 |
# File 'lib/graphics.rb', line 56 def brightness @brightness end |
.frame_count ⇒ Object
Returns the value of attribute frame_count.
54 55 56 |
# File 'lib/graphics.rb', line 54 def frame_count @frame_count end |
.frame_rate ⇒ Object
Returns the value of attribute frame_rate.
52 53 54 |
# File 'lib/graphics.rb', line 52 def frame_rate @frame_rate end |
Class Method Details
.fadein(duration) ⇒ Object
16 17 18 |
# File 'lib/graphics.rb', line 16 def fadein(duration) fail NotImplementedError end |
.fadeout(duration) ⇒ Object
12 13 14 |
# File 'lib/graphics.rb', line 12 def fadeout(duration) fail NotImplementedError end |
.frame_reset ⇒ Object
32 33 34 |
# File 'lib/graphics.rb', line 32 def frame_reset fail NotImplementedError end |
.freeze ⇒ Object
20 21 22 |
# File 'lib/graphics.rb', line 20 def freeze fail NotImplementedError end |
.height ⇒ Object
40 41 42 |
# File 'lib/graphics.rb', line 40 def height fail NotImplementedError end |
.play_movie(filename) ⇒ Object
48 49 50 |
# File 'lib/graphics.rb', line 48 def play_movie(filename) fail NotImplementedError end |
.resize_screen(width, height) ⇒ Object
44 45 46 |
# File 'lib/graphics.rb', line 44 def resize_screen(width, height) fail NotImplementedError end |
.snap_to_bitmap ⇒ Object
28 29 30 |
# File 'lib/graphics.rb', line 28 def snap_to_bitmap fail NotImplementedError end |
.transition(duration = 10, filename = nil, vague = 40) ⇒ Object
24 25 26 |
# File 'lib/graphics.rb', line 24 def transition(duration = 10, filename = nil, vague = 40) fail NotImplementedError end |
.update ⇒ Object
4 5 6 |
# File 'lib/graphics.rb', line 4 def update fail NotImplementedError end |
.wait(duration) ⇒ Object
8 9 10 |
# File 'lib/graphics.rb', line 8 def wait(duration) fail NotImplementedError end |
.width ⇒ Object
36 37 38 |
# File 'lib/graphics.rb', line 36 def width fail NotImplementedError end |