Difference between revisions of "ZoomOut Command"
From GeoGebra Manual
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 ) |
(command syntax: changed [ ] into ( )) |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} |
− | {{command|scripting}} | + | ;ZoomOut( <Scale Factor> ) |
− | ;ZoomOut | + | :Zooms the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]] out by given factor with respect to current zoom, center of the screen is used as center point for the zoom. |
− | :Zooms the [[Graphics View]] out by given factor with respect to current zoom, center of the screen is used as center point for the zoom. | + | :{{example|1=<code><nowiki>ZoomOut(2)</nowiki></code> zooms the view out.}} |
− | ;ZoomOut | + | ;ZoomOut( <Scale Factor>, <Center Point> ) |
− | :Zooms the | + | :Zooms the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]] out by given factor with respect to current zoom, second parameter specifies center point for the zoom. |
− | {{ | + | :{{example|1=<code><nowiki>ZoomOut(2, (0, 0))</nowiki></code>}} |
+ | {{Notes|1= | ||
+ | :*<code>ZoomOut(t)</code> and <code>ZoomOut(t, A)</code> are equivalent to <code>ZoomIn(1/t)</code> and <code>ZoomIn(1/t, A)</code> respectively. | ||
+ | :*If multiple ''Graphics Views'' are present, the active one is used. | ||
+ | :*See also [[ZoomIn Command|ZoomIn]], [[SetActiveView Command|SetActiveView]], [[Pan Command|Pan]] commands.}} |
Latest revision as of 09:26, 12 October 2017
- ZoomOut( <Scale Factor> )
- Zooms the Graphics View out by given factor with respect to current zoom, center of the screen is used as center point for the zoom.
- Example:
ZoomOut(2)
zooms the view out.
- ZoomOut( <Scale Factor>, <Center Point> )
- Zooms the Graphics View out by given factor with respect to current zoom, second parameter specifies center point for the zoom.
- Example:
ZoomOut(2, (0, 0))
Notes:
ZoomOut(t)
andZoomOut(t, A)
are equivalent toZoomIn(1/t)
andZoomIn(1/t, A)
respectively.- If multiple Graphics Views are present, the active one is used.
- See also ZoomIn, SetActiveView, Pan commands.