Difference between revisions of "Corner Command"

From GeoGebra Manual
Jump to: navigation, search
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 )
Line 6: Line 6:
 
; Corner[Text, Number n of Corner]: Creates a point at the corner of the text (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.}}
 
{{Note| The numbering of the corners is counter‐clockwise and starts at the lower left corner.}}
 +
{{Note| Corner[Text, Number n of Corner] won't work inside the [[Sequence Command|Sequence]] or [[Zip Command|Zip]] commands}}

Revision as of 10:41, 15 March 2013



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.
Note: Corner[Text, Number n of Corner] won't work inside the Sequence or Zip commands

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