Difference between revisions of "ZoomOut Command"
From GeoGebra Manual
m (1 revision) |
(command syntax: changed [ ] into ( )) |
||
(18 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | |
− | <noinclude>{{Manual Page|version= | + | ;ZoomOut( <Scale Factor> ) |
− | {{command|scripting}} | + | :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. |
− | ;ZoomOut | + | :{{example|1=<code><nowiki>ZoomOut(2)</nowiki></code> zooms the view out.}} |
− | :{{ | + | ;ZoomOut( <Scale Factor>, <Center Point> ) |
− | ;ZoomOut | + | :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.