Class: Sketchup::ViewObserver Abstract
- Inherits:
-
Object
- Object
- Sketchup::ViewObserver
Overview
Instance Method Summary # collapse
-
#onScaleFactorChange(view) ⇒ nil
The #onScaleFactorChange method is called whenever the view DPI of the view changes.
-
#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.
Instance Method Details
↑ #onScaleFactorChange(view) ⇒ nil
The #onScaleFactorChange method is called whenever the view DPI of the view changes. This can be the SketchUp window being moved to another monitor with a different DPI or the user changing the DPI settings of the monitor.
↑ #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.