Afbeelding invoegen Macro
Afbeelding invoegen Macro
Dit artikel is omtrent een GeoGebra macro.
Macro's categorieen (Alle gereedschappen)
Met deze knop kan je een afbeelding invoegen in het Tekenvenster.
Bepaal eerst de positie van de afbeelding. Dit kan je op twee manieren::
- Klik in het Tekenvenster op de gewenste plaats om de linker onderhoek te bepalen.
- KLik op een bestaand punt om dit aan te duiden als linker onderhoek van de afbeelding.
In een dialoogvenster kan je in de bestandsmappen van je computer de gewenste afbeelding selecteren.
Eigenschappen van afbeeldingen
De positie van een afbeelding kan absoluut zijn op het scherm, of relatief t.o.v. het coördinatensysteem. Deze keuze kan je maken in de tab Basis van het Eigenschappenvenster van de afbeelding.
In de tab Positie van het Eigenschappenvenster kan je tot drie hoekpunten van de afbeelding vastleggen. Dit geeft je de mogelijkheid om afbeeldingen te herschalen, roteren en zelfs te vervormen. (zie ook het commando Hoekpunt ).
- Hoekpunt 1: position of the lower left corner of the image
- Hoekpunt 2: position of the lower right corner of the image
- Nota: This corner may only be set if Corner 1 was set before. It controls the width of the image.
- Hoekpunt 4: position of the upper left corner of the image
- Nota: This corner may only be set if Corner 1 was set before. It controls the height of the image.
- Set point A as the first and point B as the second corner of your image. By dragging points A and B in Move mode you can explore their influence.
- Now, remove point B as the second corner of the image. Set point A as the first and point C as the fourth corner and explore how dragging the points now influences the image.
- Finally, you may set all three corner points and see how dragging the points distorts your image.
- Set Hoekpunt 1 to A
- Set Hoekpunt 2 to A + (3, 0)
- Set Hoekpunt 4 to A + (0, 4)
You may specify an image as a Background image on tab Basic of the Eigenschappenvenster. A background image lies behind the coordinate axes and cannot be selected with the mouse any more.
The Transparency of an image can be changed in order to see objects or axes that lie behind the image. You can set the transparency of an image by specifying a Filling value between 0 % and 100 % on tab Style of the Properties Dialog.