Difference between revisions of "Corner Command"

From GeoGebra Manual
Jump to: navigation, search
m (added new sintaxes for v.5 and description tag)
(added new syntax for v.5 - 3d View)
Line 15: Line 15:
 
;Corner[ <Polygon> ] :{{description|5}}
 
;Corner[ <Polygon> ] :{{description|5}}
 
;Corner[ <Conic> ] :{{description|5}}
 
;Corner[ <Conic> ] :{{description|5}}
 +
;Corner[3, <Number>] :creates a point at one of the 3D view's corners (available values for ''Number'': from 1 to 8)
 
}}
 
}}

Revision as of 09:19, 9 September 2013



Corner[ <Number of Corner> ]
For number n = 1, 2, 3, 4 creates a point at the corner of the Graphics View, for n = 5 returns point (w, h), where w and h are width and height of the graphics view in pixels. Always uses first graphics view, even if second is active.
Corner[ <Graphics View>, <Number of Corner> ]
Creates a point at the corner of Graphics View (1, 2) which is never visible in that view. Supported values of number n are 1, 2, 3, 4 and 5 as above.
Corner[ <Image>, <Number of Corner> ]
Creates a point at the corner of the image (number n = 1, 2, 3, 4).
Corner[ <Text>, <Number of Corner> ]
Creates a point at the corner of the text (number n = 1, 2, 3, 4).
Note: Corner[ <Text>, <Number of Corner> ] won't work inside the Sequence or Zip commands.
Note: The numbering of the corners is counter‐clockwise and starts at the lower left corner.

Comments

Ideas on how to use the corner command[edit]

Place objects exactly on the screen[edit]

Sometimes you might have trouble finding some objects when you open your GeoGebra file on an different computer. The reason is usually that the resolution of the display is different from the one of your home computer. But there are some possibilities to avoid disappearing objects:

  1. Place the objects close to the upper left corner. As this corner is saved in the file for the position of the visible graphic-area, the objects should be always visible.
  2. Use the Corner command to calculate the position of an object relative to the corners of the Graphics View. For more information look at this brief tutorial.
© 2024 International GeoGebra Institute