312
inflate
Syntax
rectangle.Inflate(
widthChange
,
heightChange
)
inflate (
rectangle
,
widthChange
,
heightChange
)
Description
Command; changes the dimensions of the rectangle specified by
rectangle
relative to the center
of the rectangle, either horizontally
(widthChange
)
or vertically
(
heightChange
)
.
The total change in each direction is twice the number you specify. For example, replacing
widthChange
with 15 increases the rectangle’s width by 30 pixels. A value less than 0 for the
horizontal or vertical dimension reduces the rectangle’s size.
Examples
This statement increases the rectangle’s width by 4 pixels and the height by 2 pixels:
rect(10, 10, 20, 20).inflate(2, 1)
-- rect (8, 9, 22, 21)
This statement decreases the rectangle’s height and width by 20 pixels:
inflate (rect(0, 0, 100, 100), -10, -10)
-- rect (10, 10, 90, 90)
ink
Syntax
sprite(
whichSprite
).ink
the ink of sprite
whichSprite
Description
Sprite property; determines the ink effect applied to the sprite specified by
whichSprite
, as
follows:
0—Copy
32—Blend
1—Transparent
33—Add pin
2—Reverse
34—Add
3—Ghost
35—Subtract pin
4—Not copy
36—Background transparent
5—Not transparent
37—Lightest
6—Not reverse
38—Subtract
7—Not ghost
39—Darkest
8—Matte
40—Lighten
9—Mask
41—Darken
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...