The Text’s style object has a backgroundColor
property. If you want more control, you can instead use a Rectangle shape object with the Text’s width
and height
. Keep in mind that a Rectangle’s default origin is (0.5, 0.5); it’ll be easier to set it to (0, 0).
1 Like