Difference between revisions of "Pan Command"
From GeoGebra Manual
m |
m (typo) |
||
(4 intermediate revisions by 2 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 current view by ''x'' pixels to the | + | ;Pan( <x>, <y>, <z> ) |
− | ;Pan | ||
: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 | ||
{{Notes|1= | {{Notes|1= | ||
− | :*If multiple [[Graphics View|Graphics Views]] are present, the active one is used | + | :*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.}} | :*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.