Textruns Object - Adobe 38039927 - Fireworks CS3 - PC Extended User Manual

Extending fireworks
Hide thumbs Also See for 38039927 - Fireworks CS3 - PC:
Table of Contents

Advertisement

Property
horizontalScale
italic
kerning
leading
leadingMode
rangeKerning
size
underline

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
Notes
float
The relative width of the characters.
1.0 — normal width
< 1 — thinner than normal
> 1 — wider than normal
Boolean
Set to
true
float
Also known as pair kerning,
percentage of an em square by which to separate two
characters, in addition to the amount the font speci-
fies. Applies to only one pair or characters. To specify
kerning for a range of text, use the
property.
0 — normal kerning
< 0 — move the two characters closer together
> 0 — move the two characters farther apart
float
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 prop-
erty number depends on the value of the
property.
Mode
string
The only acceptable value is
which specifies that the
percentage of the text's point size. A
erty of
.
1
0
means 200 percent or double-spaced, and so on.
float
The same as the
range of text, not only two characters.
string
String of the form
numeric value.
Boolean
Set to
true
normal text.
Data type
Notes
object
TextAttrs object (see "TextAttrs object" on page 243).
array
Array of SingleTextRun objects on this TextRuns
object (see "SingleTextRun object" on page 241).
for italic text,
false
for normal text.
specifies the
kerning
rangeKerning
leading-
"percentage"
leading
property is a
leading
means 100 percent or single-spaced,
kerning
property, but applies to a
, where
is a
"#pt"
#
for underlined text,
for
false
ADOBE FIREWORKS CS3
Extending Guide
,
prop-
.
2
0
244

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs3

Table of Contents