Script and Absolute Position on Screen

yuri1969 shared this question 5 years ago
Answered

How to use a script (JavaScript or GeoGebra Script) to disable Absolute Position on Screen?

Comments (3)

photo
1

Hi,


a way for a text : redefine text

https://ggbm.at/567861

photo
1

I meant rather PenStroke

photo
1

hello

you can open properties of penstroke and redefine as polyline[<point>,<point>,<point>,<point>,<point>,...]

you can redefine it as polyline[{<point1>,<point>,<point>,<point>,<point>,...}+(A-point1)] then A is the begin of polyline

pen is only a tool for creating a polyline, so penstroke is not really an object

if needs a script i think you can use getXML() and evalXML() methods, or try it with formulatext[<penstroke>,false], then some commands for texts and setvalue


saludos

© 2019 International GeoGebra Institute