Hey punks,
does anyone know, if there is a property or an easy way of setting the letter-spacing (horizontal) for text in the Text class.
I can’t seem to find anything like it. :S
Hey punks,
does anyone know, if there is a property or an easy way of setting the letter-spacing (horizontal) for text in the Text class.
I can’t seem to find anything like it. :S
Yeah, it’s pretty easy.
var text:Text = new Text("text");
text.setTextProperty("letterSpacing", value);
letterSpacing
is a property of the TextFormat
. This will modify it.
PD: Of course all the other part is identical.
PD2: You can serch for more text properties at the official reference (TextFormat
class contains the major part)