Difference between revisions of "Pan Command"
From GeoGebra Manual
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
m (typo) |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | ||
;Pan( <x>, <y> ) | ;Pan( <x>, <y> ) | ||
− | :Shifts the current view by ''x'' pixels to the | + | :Shifts the current view by ''x'' pixels to the right and ''y'' pixels upwards. |
;Pan( <x>, <y>, <z> ) | ;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 |
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.