Adobe 65011817 Extended User Guide - Page 272
TextRuns object, Widget object
UPC - 883919157368
View all Adobe 65011817 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 272 highlights
Last updated 12/8/2009 EXTENDING FIREWORKS 268 Objects within Fireworks documents Property kerning leading leadingMode rangeKerning size underline Data type float float string float string Boolean Notes Also known as pair kerning, kerning specifies the percentage of an em square by which to separate two characters, in addition to the amount the font specifies. Applies to only one pair or characters. To specify kerning for a range of text, use the rangeKerning property. 0 - normal kerning < 0 - move the two characters closer together > 0 - move the two characters farther apart The spacing between two lines of text, measured from baseline to baseline. Larger numbers place more space between lines of text. Smaller numbers move the lines closer together. The exact effect of this property number depends on the value of the leadingMode property. The only acceptable value is "percentage", which specifies that the leading property is a percentage of the text's point size. A leading property of 1.0 means 100 percent or singlespaced, 2.0 means 200 percent or double-spaced, and so on. The same as the kerning property, but applies to a range of text, not only two characters. String of the form "#pt", where # is a numeric value. Set to true for underlined text, false for normal text. TextRuns object The following table lists the properties of the TextRuns object, along with their data types and, where appropriate, acceptable values and notes. Property initialAttrs textRuns Data type object array Notes TextAttrs object (see "TextAttrs object" on page 267). Array of SingleTextRun objects on this TextRuns object (see "SingleTextRun object" on page 265). Widget object The following table lists the properties of the Widget object, along with their data types and, where appropriate, acceptable values and notes. Property Data type element.visible Boolean element.opacity integer element.pathattrs.brushColor string Notes Sets the visibility of an element to true or false. Sets the opacity of an element. A color string that specifies the brush color for the path attributes of the primitive (see "Color string data type" on page 7 and "PathAttrs object" on page 261).