Text object

Text is a subclass of the base class Element and contains the following properties in addition to those in Element (for more information, see Element object).

Property Data type Notes

antiAliased

Boolean

If set to true (the default), anti-aliases the text.

antiAliasMode

string

Acceptable values are "smooth", "crisp", and "strong". This value is ignored if the antiAliased property is set to false.

autoExpand

Boolean

If set to true, the bounding box will expand automatically to fit a line of text to prevent word wrapping.

autoKern

Boolean

If set to true, uses pair-kerning information in the fonts to kern the text. If set to false, pair-kerning information in the fonts is ignored. Default value is true.

orientation

string

Acceptable values are "horizontal left to right" (the default), "vertical right to left", "horizontal right to left", and "vertical left to right".

pathAttributes

object

PathAttrs object (for more information, see PathAttrs object).

randSeed

float

A 32-bit integer. JavaScript integers hold only 31-bit numbers, so it is stored as a floating-point number.

textRuns

object

TextRuns object (for more information, see TextRuns object).

textureOffset

point

If the text has a textured brush or fill, specifies the offset of the texture's origin.

transformMode

string

Acceptable values are "paths" and "pixels".

rawTop

float

Top space occupied by the pixels (not the top location of the bounding box).

rawLeft

float

Leftmost space occupied by the pixels (not the left location of the bounding box).

rawWidth

float

Width of the area occupied by the pixels (not the area of the bounding box).

rawHeight

float

Height of the area occupied by the pixels (not the area of the bounding box).


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/fireworks/8/fwextending/fw_02_39.htm