Class: Plane
- Inherits:
-
Object
- Object
- Plane
- Defined in:
- lib/plane.rb
Instance Attribute Summary collapse
-
#bitmap ⇒ Object
Returns the value of attribute bitmap.
-
#blend_type ⇒ Object
Returns the value of attribute blend_type.
-
#color ⇒ Object
Returns the value of attribute color.
-
#opacity ⇒ Object
Returns the value of attribute opacity.
-
#ox ⇒ Object
Returns the value of attribute ox.
-
#oy ⇒ Object
Returns the value of attribute oy.
-
#tone ⇒ Object
Returns the value of attribute tone.
-
#viewport ⇒ Object
Returns the value of attribute viewport.
-
#visible ⇒ Object
Returns the value of attribute visible.
-
#z ⇒ Object
Returns the value of attribute z.
-
#zoom_x ⇒ Object
Returns the value of attribute zoom_x.
-
#zoom_y ⇒ Object
Returns the value of attribute zoom_y.
Instance Method Summary collapse
- #dispose ⇒ Object
- #disposed? ⇒ Boolean
-
#initialize(viewport = nil) ⇒ Plane
constructor
A new instance of Plane.
Constructor Details
#initialize(viewport = nil) ⇒ Plane
Returns a new instance of Plane.
3 4 5 |
# File 'lib/plane.rb', line 3 def initialize( = nil) fail NotImplementedError end |
Instance Attribute Details
#bitmap ⇒ Object
Returns the value of attribute bitmap.
15 16 17 |
# File 'lib/plane.rb', line 15 def bitmap @bitmap end |
#blend_type ⇒ Object
Returns the value of attribute blend_type.
33 34 35 |
# File 'lib/plane.rb', line 33 def blend_type @blend_type end |
#color ⇒ Object
Returns the value of attribute color.
35 36 37 |
# File 'lib/plane.rb', line 35 def color @color end |
#opacity ⇒ Object
Returns the value of attribute opacity.
31 32 33 |
# File 'lib/plane.rb', line 31 def opacity @opacity end |
#ox ⇒ Object
Returns the value of attribute ox.
23 24 25 |
# File 'lib/plane.rb', line 23 def ox @ox end |
#oy ⇒ Object
Returns the value of attribute oy.
25 26 27 |
# File 'lib/plane.rb', line 25 def oy @oy end |
#tone ⇒ Object
Returns the value of attribute tone.
37 38 39 |
# File 'lib/plane.rb', line 37 def tone @tone end |
#viewport ⇒ Object
Returns the value of attribute viewport.
17 18 19 |
# File 'lib/plane.rb', line 17 def @viewport end |
#visible ⇒ Object
Returns the value of attribute visible.
19 20 21 |
# File 'lib/plane.rb', line 19 def visible @visible end |
#z ⇒ Object
Returns the value of attribute z.
21 22 23 |
# File 'lib/plane.rb', line 21 def z @z end |
#zoom_x ⇒ Object
Returns the value of attribute zoom_x.
27 28 29 |
# File 'lib/plane.rb', line 27 def zoom_x @zoom_x end |
#zoom_y ⇒ Object
Returns the value of attribute zoom_y.
29 30 31 |
# File 'lib/plane.rb', line 29 def zoom_y @zoom_y end |
Instance Method Details
#dispose ⇒ Object
7 8 9 |
# File 'lib/plane.rb', line 7 def dispose fail NotImplementedError end |
#disposed? ⇒ Boolean
11 12 13 |
# File 'lib/plane.rb', line 11 def disposed? fail NotImplementedError end |