344
lineHeight (cast member property)
Syntax
member(
whichCastMember).
lineHeight
the lineHeight of member
whichCastMember
Description
Cast member property; determines the line spacing used to display the specified field cast
member. The parameter
whichCastMember
can be either a cast member name or number.
Setting the
lineHeight
member property temporarily overrides the system’s setting until the
movie closes. To use the desired line spacing throughout a movie, set the
lineHeight
member
property in an
on prepareMovie
handler.
This property can be tested and set.
Example
This statement sets the variable
oldHeight
to the current
lineHeight
setting for the field cast
member Rokujo Speaks:
oldHeight = member("Rokujo Speaks").lineHeight
See also
text
,
alignment
,
font
,
fontSize
,
fontStyle
lineOffset
Syntax
member(
whichCastmember
).model(
whichModel
).toon.lineOffset
member(
whichCastmember
).model(
whichModel
).inker.lineOffset
Description
3D
toon
and
inker
modifier property; indicates the apparent distance from the model’s surface
at which lines are drawn by the modifier. For this property to have an effect, the modifier’s
useLineOffset
property must be set to
TRUE
, and one or more of its
creases
,
silhouettes
, or
boundary
properties must also be set to
TRUE
.
This range of this property is -100.00 to +100.00. Its default setting is -2.0.
Example
The following statement sets the
lineOffset
property of the
toon
modifier for the model named
Teapot to 10. The lines drawn by the toon modifier on the surface of the model will stand out
more than they would at the default setting of -2.
member("shapes").model("Teapot").toon.lineOffset = 10
See also
creases
,
silhouettes
,
boundary
,
useLineOffset
,
lineColor
linePosToLocV()
Syntax
member(
whichCastMember
).linePosToLocV(
lineNumber
)
linePosToLocV(member
whichCastMember
,
lineNumber
)
Summary of Contents for DIRECTOR MX-LINGO DICTIONARY
Page 1: ...Lingo Dictionary Macromedia Director MX...
Page 756: ...Index 756...