Class: Sketchup::ViewObserver
- Inherits:
-
Object
- Object
- Sketchup::ViewObserver
- Defined in:
- lib/sketchup-api-stubs/stubs/Sketchup/ViewObserver.rb
Overview
This observer interface is implemented to react to view events. To implement this observer, create a Ruby class of this type, override the desired methods, and add an instance of the observer to the view object.
Instance Method Summary collapse
-
#onViewChanged(view) ⇒ nil
The #onViewChanged method is called whenever the view is altered, such as when the user uses the Pan, Orbit, or Zoom tools are used.
Instance Method Details
#onViewChanged(view) ⇒ nil
The #onViewChanged method is called whenever the view is altered, such as when the user uses the Pan, Orbit, or Zoom tools are used.
40 41 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/ViewObserver.rb', line 40 def onViewChanged(view) end |