Difference between revisions of "Pan Command"
From GeoGebra Manual
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact ) |
m (typo) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} |
− | {{command|scripting}} | + | ;Pan( <x>, <y> ) |
− | ;Pan | + | :Shifts the current view by ''x'' pixels to the right and ''y'' pixels upwards. |
− | :Shifts the view by ''x'' pixels to the | + | ;Pan( <x>, <y>, <z> ) |
+ | :Shifts the current view by (x, y, z) if it's a 3D View, or just by (x,y) for a 2D View | ||
+ | |||
+ | {{Notes|1= | ||
+ | :*If multiple [[Graphics View|Graphics Views]] are present, the active one is used. | ||
+ | :*See also [[ZoomIn Command|ZoomIn]], [[ZoomOut Command|ZoomOut]], [[SetActiveView Command|SetActiveView]] commands.}} |
Latest revision as of 09:32, 5 November 2017
- Pan( <x>, <y> )
- Shifts the current view by x pixels to the right and y pixels upwards.
- Pan( <x>, <y>, <z> )
- Shifts the current view by (x, y, z) if it's a 3D View, or just by (x,y) for a 2D View
Notes:
- If multiple Graphics Views are present, the active one is used.
- See also ZoomIn, ZoomOut, SetActiveView commands.