Difference between revisions of "Pan Command"
From GeoGebra Manual
m (1 revision) |
m (typo) |
||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | |
− | <noinclude>{{Manual Page|version= | + | ;Pan( <x>, <y> ) |
− | {{command|scripting}} | + | :Shifts the current view by ''x'' pixels to the right 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 |
+ | |||
+ | {{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.