Class: Plane

Inherits:
Object
  • Object
show all
Defined in:
lib/plane.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(viewport = nil) ⇒ Plane

Returns a new instance of Plane.



3
4
5
# File 'lib/plane.rb', line 3

def initialize(viewport = nil)
  fail NotImplementedError
end

Instance Attribute Details

#bitmapObject

Returns the value of attribute bitmap.



15
16
17
# File 'lib/plane.rb', line 15

def bitmap
  @bitmap
end

#blend_typeObject

Returns the value of attribute blend_type.



33
34
35
# File 'lib/plane.rb', line 33

def blend_type
  @blend_type
end

#colorObject

Returns the value of attribute color.



35
36
37
# File 'lib/plane.rb', line 35

def color
  @color
end

#opacityObject

Returns the value of attribute opacity.



31
32
33
# File 'lib/plane.rb', line 31

def opacity
  @opacity
end

#oxObject

Returns the value of attribute ox.



23
24
25
# File 'lib/plane.rb', line 23

def ox
  @ox
end

#oyObject

Returns the value of attribute oy.



25
26
27
# File 'lib/plane.rb', line 25

def oy
  @oy
end

#toneObject

Returns the value of attribute tone.



37
38
39
# File 'lib/plane.rb', line 37

def tone
  @tone
end

#viewportObject

Returns the value of attribute viewport.



17
18
19
# File 'lib/plane.rb', line 17

def viewport
  @viewport
end

#visibleObject

Returns the value of attribute visible.



19
20
21
# File 'lib/plane.rb', line 19

def visible
  @visible
end

#zObject

Returns the value of attribute z.



21
22
23
# File 'lib/plane.rb', line 21

def z
  @z
end

#zoom_xObject

Returns the value of attribute zoom_x.



27
28
29
# File 'lib/plane.rb', line 27

def zoom_x
  @zoom_x
end

#zoom_yObject

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

#disposeObject



7
8
9
# File 'lib/plane.rb', line 7

def dispose
  fail NotImplementedError
end

#disposed?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/plane.rb', line 11

def disposed?
  fail NotImplementedError
end