
688
trimWhiteSpace (property)
Syntax
member(
whichMember
).trimWhiteSpace
Description
Cast member property. Determines whether the white pixels around the edge of a bitmap cast
member are removed or left in place. This property is set when the member is imported. It can be
changed in Lingo or in the Bitmap tab of the Property inspector.
trimWhitespace() (function)
Syntax
imageObject
.trimWhitespace()
Description
Function; removes any white pixels that lie outside the minimum bounding rectangle and returns
the result in a new image object.
Example
This statement trims the white space from member Flower and returns the new, trimmed image
object in the variable
trimmedImage
:
trimmedImage = member("flower").image.trimWhitespace()
See also
crop() (member command)
TRUE
Syntax
TRUE
Description
Constant; represents the value of a logically true expression, such as
2 < 3
. It has a traditional
numerical value of 1, but any nonzero integer evaluates to
TRUE
in a comparison.
Example
This statement turns on the
soundEnabled
property by setting it to
TRUE
:
the soundEnabled = TRUE
See also
FALSE
,
if
tunnelDepth
Syntax
member(
whichTextmember
).tunnelDepth
member(
whichCastMember
).modelResource(
whichExtruderModel
\
Resource
).tunnelDepth
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...