Difference between revisions of "CenterView Command"
From GeoGebra Manual
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.2}}</noinclude> | <noinclude>{{Manual Page|version=4.2}}</noinclude> | ||
− | + | {{command|scripting}} | |
;CenterView[ <Center Point> ] | ;CenterView[ <Center Point> ] | ||
:Translates the Graphics View so that the specified point is in the center. | :Translates the Graphics View so that the specified point is in the center. |
Revision as of 11:58, 21 December 2012
- CenterView[ <Center Point> ]
- Translates the Graphics View so that the specified point is in the center.
- Example:
CenterView[(0, 0)]
moves the origin to the center of the screen
Note: If multiple Graphics Views are present, the active one is used.