Difference between revisions of "Pan Command"

From GeoGebra Manual
Jump to: navigation, search
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 )
(add Pan[x,y,z], notes)
Line 2: Line 2:
 
{{command|scripting}}
 
{{command|scripting}}
 
;Pan[ <x>, <y> ]
 
;Pan[ <x>, <y> ]
:Shifts the 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[ <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]], [[Pan Command|Pan]],  command.}}

Revision as of 15:19, 6 September 2014



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:
© 2024 International GeoGebra Institute