Rotate text

Pablo Gonzalez Mora shared this question 2 years ago
Answered

Hi, GeoGebra community.

I want to create a customized tool to write rotated text. I only know how to use the tool clicking on a before inserted text. Could I set the tool so the user can to insert the text by keyboard (i.e. without to click a previously inserted text)? (say, I want to write "border" between D and E points of the attached file.)


Thank you.

Comments (5)

photo
1

hello

try RotateText(Text("border", A), 30°)

photo
1

If your tool's name is SlopedText

just write in InputBar

SlopedText(D,E,"border")

photo
1

Thank you very much.

Could the Input Box be shown with every execution of the tool (for a new and different text, with another points)?

photo
1

Sorry

i just edit my answer

Is that what you wanted ?

--------------

No, it is why i edited...

we can't put an InputBox in a tool

(so you have to create an input box attached at your text1)

photo
1

I wanted to click the points with the mouse, and writing only the input text with the keyboard. However, your suggestion, writing on Input Bar is very nice too.Thank you very much.

photo
© 2020 International GeoGebra Institute