W3cubDocs

/Haxe Flash

ElementFormat

package flash.text.engine

Available on flash

Constructor

new(?fontDescription:FontDescription, fontSize:Float = 12, color:UInt = 0, alpha:Float = 1, ?textRotation:TextRotation, ?dominantBaseline:TextBaseline, ?alignmentBaseline:TextBaseline, baselineShift:Float = 0, ?kerning:Kerning, trackingRight:Float = 0, trackingLeft:Float = 0, ?locale:String, ?breakOpportunity:BreakOpportunity, ?digitCase:DigitCase, ?digitWidth:DigitWidth, ?ligatureLevel:LigatureLevel, ?typographicCase:TypographicCase)

Variables

alignmentBaseline:TextBaseline

alpha:Float

baselineShift:Float

breakOpportunity:BreakOpportunity

color:UInt

digitCase:DigitCase

digitWidth:DigitWidth

dominantBaseline:TextBaseline

fontDescription:FontDescription

fontSize:Float

kerning:Kerning

ligatureLevel:LigatureLevel

locale:String

locked:Bool

textRotation:TextRotation

trackingLeft:Float

trackingRight:Float

typographicCase:TypographicCase

Methods

clone():ElementFormat

getFontMetrics():FontMetrics

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/text/engine/ElementFormat.html