Change the opacity of the background color of a text object

steponic shared this question 8 months ago
Answered

Is there any way to set the opacity of the background color of a text object. SetBackgroundColor doesn't include an opacity parameter. When I use SetDynamicColor, it changes the foreground (text) color, not the background color.

Comments (4)

photo
1

I think no chance.

photo
1

this is a way:

use a polygon as its background

Polygon(Sequence(Corner(text1, n), n, 1, 4))
you should not set background color of text.

photo
1

not valid for text with Absolute Position On Screen


solved with B = AttachCopyToView(A, 1)

Files: foro.ggb
photo
1

Next release will allow

SetBackgroundColor(text1, "#80FF0000")

© 2018 International GeoGebra Institute