Difference between revisions of "Pan Command"
From GeoGebra Manual
m |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | ||
− | ;Pan | + | ;Pan( <x>, <y> ) |
:Shifts the current view by ''x'' pixels to the left and ''y'' pixels upwards. | :Shifts the current view by ''x'' pixels to the left and ''y'' pixels upwards. | ||
− | ;Pan | + | ;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 | :Shifts the current view by (x, y, z) if it's a 3D View, or just by (x,y) for a 2D View | ||
Revision as of 16:15, 7 October 2017
- Pan( <x>, <y> )
- Shifts the current view by x pixels to the left 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.