Corner Command

From GeoGebra Manual
Revision as of 18:55, 27 April 2011 by Zbynek (talk | contribs)
Jump to: navigation, search


Corner[Number n of Corner]
For 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 g, Number n of Corner]
Creates a point at the corner of g-th Graphics View (g = 1, 2) which is never visible in that view. Supported values of n are 1, 2, 3, 4 and 5 as above.
Corner[Image, Number n of Corner]
Creates a point at the corner of the image (n = 1, 2, 3, 4).
Corner[Text, Number n of Corner]
Creates a point at the corner of the text (n = 1, 2, 3, 4).
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