A special replacement for openfl.text.TextFormat
that dispatches
Event.CHANGE
when any of its properties changes, and supports creating a
clone with the same properties.
Events:
openfl.events.Event.CHANGE | Dispatched when any property of the
|
---|
Available since
1.0.0
.Constructor
new(?font:String, ?size:Int, ?color:Int, ?bold:Bool, ?italic:Bool, ?underline:Bool, ?url:String, ?target:String, ?align:TextFormatAlign, ?leftMargin:Int, ?rightMargin:Int, ?indent:Int, ?leading:Int)
Creates a new TextFormat
object with the given arguments.
Available since
1.0.0
.