Class: WinClass::View

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeView

Returns a new instance of View.



25
26
27
28
# File 'lib/texplay/live.rb', line 25

def initialize
  @zoom = 1
  @rotate = 0
end

Instance Attribute Details

#rotateObject

Returns the value of attribute rotate.



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

def rotate
  @rotate
end

#zoomObject

Returns the value of attribute zoom.



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

def zoom
  @zoom
end

Instance Method Details

#resetObject



30
31
32
33
# File 'lib/texplay/live.rb', line 30

def reset
  @zoom = 1
  @rotate = 0
end