User Guide
TextFormat 697
Properties inherited from class Object
Constructor summary
Method summary
Methods inherited from class Object
align (TextFormat.align property)
public align : String
A string that indicates the alignment of the paragraph. You can apply this property to static
and dynamic text. The following list shows possible values for this property:
■ "left"—the paragraph is left-aligned.
■ "center"—the paragraph is centered.
■ "right"—the paragraph is right-aligned.
constructor (Object.constructor property), __proto__ (Object.__proto__
property), prototype (Object.prototype property), __resolve
(Object.__resolve property)
Signature Description
TextFormat([font:String], [size:Number],
[color:Number], [bold:Boolean],
[italic:Boolean], [underline:Boolean],
[url:String], [target:String],
[align:String], [leftMargin:Number],
[rightMargin:Number], [indent:Number],
[leading:Number])
Creates a TextFormat object with the
specified properties.
Modifiers Signature Description
getTextExtent(text:String,
[width:Number]) : Object
Returns text measurement information for the
text string text in the format specified by
my_fmt.
addProperty (Object.addProperty method), hasOwnProperty
(Object.hasOwnProperty method), isPropertyEnumerable
(Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf
method), registerClass (Object.registerClass method), toString
(Object.toString method), unwatch (Object.unwatch method), valueOf
(Object.valueOf method), watch (Object.watch method)