Packagecom.adobe.flashpro
Classpublic class TextAttrs
InheritanceTextAttrs Inheritance com.adobe.csawlib.CSHostObject

TextAttrs object contains all the properties of text which can be applied to a subselection. The properties which describe characters



Public Properties
 PropertyDefined By
  aliasText : Boolean
The text should be drawn using a method optimized for increasing the legibility of small text.
TextAttrs
  alignment : String
paragraph justification: 'left', 'center', 'right', 'justify'
TextAttrs
  autoKern : Boolean
If true, use pair kerning information in the font(s) to kern the text.
TextAttrs
  bold : Boolean
if true, text is displayed with bold version of font.
TextAttrs
  characterPosition : String
Acceptable values: "normal", "subscript", "superscript", This only applies to Static Text.
TextAttrs
  characterSpacing : int
This is deprecated.
TextAttrs
  face : String
The name of the font, such as "Arial".
TextAttrs
  fillColor : String
The argument is a color string in hexadecimal #rrggbb format or an integer containg the value.
TextAttrs
  indent : int
paragraph indentation -720 to 720
TextAttrs
  italic : Boolean
if true, text is displayed with italic version of font.
TextAttrs
  leftMargin : int
paragraph's left margin 0 to 720
TextAttrs
  letterSpacing : int
Integer representing the space between characters.
TextAttrs
  lineSpacing : int
Line spacing of paragraph, also known as leading.
TextAttrs
  rightMargin : int
paragraph's right margin 0 to 720
TextAttrs
  rotation : Boolean
If TRUE, the characters of the text are rotated 90 degrees.
TextAttrs
  size : int
The size of the font.
TextAttrs
  target : String
string for the target.
TextAttrs
  url : String
string of the URL.
TextAttrs
Property Detail
aliasTextproperty
aliasText:Boolean

The text should be drawn using a method optimized for increasing the legibility of small text.


Implementation
    public function get aliasText():Boolean
    public function set aliasText(value:Boolean):void
alignmentproperty 
alignment:String

paragraph justification: 'left', 'center', 'right', 'justify'


Implementation
    public function get alignment():String
    public function set alignment(value:String):void
autoKernproperty 
autoKern:Boolean

If true, use pair kerning information in the font(s) to kern the text. If false, pair kerning information in the font(s) is ignored. only works with Static Text, will be ignored if used with other text types.


Implementation
    public function get autoKern():Boolean
    public function set autoKern(value:Boolean):void
boldproperty 
bold:Boolean

if true, text is displayed with bold version of font.


Implementation
    public function get bold():Boolean
    public function set bold(value:Boolean):void
characterPositionproperty 
characterPosition:String

Acceptable values: "normal", "subscript", "superscript", This only applies to Static Text.


Implementation
    public function get characterPosition():String
    public function set characterPosition(value:String):void
characterSpacingproperty 
characterSpacing:int

This is deprecated. Use letterSpacing instead. Integer representing the space between characters. Acceptable values -60 to 60. only works with Static Text, will be ignored if used with other text types.


Implementation
    public function get characterSpacing():int
    public function set characterSpacing(value:int):void
faceproperty 
face:String

The name of the font, such as "Arial".


Implementation
    public function get face():String
    public function set face(value:String):void
fillColorproperty 
fillColor:String

The argument is a color string in hexadecimal #rrggbb format or an integer containg the value.


Implementation
    public function get fillColor():String
    public function set fillColor(value:String):void
indentproperty 
indent:int

paragraph indentation -720 to 720


Implementation
    public function get indent():int
    public function set indent(value:int):void
italicproperty 
italic:Boolean

if true, text is displayed with italic version of font.


Implementation
    public function get italic():Boolean
    public function set italic(value:Boolean):void
leftMarginproperty 
leftMargin:int

paragraph's left margin 0 to 720


Implementation
    public function get leftMargin():int
    public function set leftMargin(value:int):void
letterSpacingproperty 
letterSpacing:int

Integer representing the space between characters. Acceptable values -60 to 60. Note: this is the same as the deprecated characterSpacing


Implementation
    public function get letterSpacing():int
    public function set letterSpacing(value:int):void
lineSpacingproperty 
lineSpacing:int

Line spacing of paragraph, also known as leading. Legal values are -360 to 720


Implementation
    public function get lineSpacing():int
    public function set lineSpacing(value:int):void
rightMarginproperty 
rightMargin:int

paragraph's right margin 0 to 720


Implementation
    public function get rightMargin():int
    public function set rightMargin(value:int):void
rotationproperty 
rotation:Boolean

If TRUE, the characters of the text are rotated 90 degrees. Default is FALSE. only works with static text with a vertical orientation, will be ignored if used with other text types.


Implementation
    public function get rotation():Boolean
    public function set rotation(value:Boolean):void
sizeproperty 
size:int

The size of the font.


Implementation
    public function get size():int
    public function set size(value:int):void
targetproperty 
target:String

string for the target. This can only be used with static text.


Implementation
    public function get target():String
    public function set target(value:String):void
urlproperty 
url:String

string of the URL. This can only be used with static text.


Implementation
    public function get url():String
    public function set url(value:String):void