Class mx.styles.CSSStyleDeclaration

mx.styles.CSSStyleDeclaration

Description

The class that represents a set of CSS style rules. Note that UIObject also has a similar implementation. Styles may be set directly on UIObjects or indirectly by referencing an instance of this class using the styleName property.

See Also

mx.core.UIObject @helpid 3334 @tiptext A set of CSS style properties and values.

Field Index

_tf, classConstructed, color, CSSTextStylesDependency, embedFonts, fontFamily, fontSize, fontStyle, fontWeight, marginLeft, marginRight, styleName, textAlign, textDecoration, textIndent

Method Index

__getTextFormat(), classConstruct(), getStyle()

Field Detail

_tf

_tf:TextFormat

styleName

styleName:String

textAlign

textAlign:String

fontWeight

fontWeight:String

color

color:Number

fontFamily

fontFamily:String

textIndent

textIndent:Number

fontStyle

fontStyle:String

marginLeft

marginLeft:Number

marginRight

marginRight:Number

fontSize

fontSize:Number

textDecoration

textDecoration:String

embedFonts

embedFonts:Boolean

classConstructed

static classConstructed:Boolean

CSSTextStylesDependency

static CSSTextStylesDependency

Method Detail

__getTextFormat

function __getTextFormat(tf:
TextFormat, bAll:Boolean):Boolean

getStyle

function getStyle(styleProp:
String)
get a style property
Parameters
Return
Variant the style value @tiptext @helpid 3335

classConstruct

static function classConstruct():
Boolean