Class: Plane

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Plane) initialize(viewport = nil)

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

- (Object) bitmap

Returns the value of attribute bitmap



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

def bitmap
  @bitmap
end

- (Object) blend_type

Returns the value of attribute blend_type



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

def blend_type
  @blend_type
end

- (Object) color

Returns the value of attribute color



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

def color
  @color
end

- (Object) opacity

Returns the value of attribute opacity



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

def opacity
  @opacity
end

- (Object) ox

Returns the value of attribute ox



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

def ox
  @ox
end

- (Object) oy

Returns the value of attribute oy



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

def oy
  @oy
end

- (Object) tone

Returns the value of attribute tone



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

def tone
  @tone
end

- (Object) viewport

Returns the value of attribute viewport



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

def viewport
  @viewport
end

- (Object) visible

Returns the value of attribute visible



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

def visible
  @visible
end

- (Object) z

Returns the value of attribute z



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

def z
  @z
end

- (Object) zoom_x

Returns the value of attribute zoom_x



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

def zoom_x
  @zoom_x
end

- (Object) zoom_y

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

- (Object) dispose



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

def dispose
  fail NotImplementedError
end

- (Boolean) disposed?

Returns:

  • (Boolean)


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

def disposed?
  fail NotImplementedError
end