User Guide
237
Example
This statement sets the fillMode of member Archie to gradient:
member("Archie").fillMode = #gradient
See also
endColor, fillColor
fillOffset
Syntax
member(whichCastMember).fillOffset
Description
Vector shape cast member property; specifies the horizontal and vertical amount in pixels (within
the
defaultRect space) to offset the fill of the shape.
This property is only valid when the
fillMode property of the shape is set to #gradient, but can
be both tested and set.
To see an example of
fillOffset used in a completed movie, see the Vector Shapes movie in the
Learning/Lingo Examples folder inside the Director application folder.
Example
This statement changes the fill offset of the vector shape cast member miette to a horizontal offset
of 33 pixels and a vertical offset of 27 pixels:
member("miette").fillOffset = point(33, 27)
See also
defaultRect, fillMode
fillScale
Syntax
member(whichCastMember).fillScale
Description
Vector shape cast member property; specifies the amount to scale the fill of the shape. This
property is referred to as “spread” in the vector shape window.
This property is only valid when the
fillMode property of the shape is set to #gradient, but can
be both tested and set.
To see an example of
fillScale used in a completed movie, see the Vector Shapes movie in the
Learning/Lingo Examples folder inside the Director application folder.
Example
This statement sets the fillScale of member Archie to 33:
member("Archie").fillScale = 33.00
See also
fillMode