User Guide
772 Chapter 14: Properties
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:
-- Lingo syntax
member("miette").fillOffset = point(33, 27)
// JavaScript syntax
member("miette").fillOffset = point(33, 27);
See also
defaultRect, fillMode
fillScale
Usage
-- Lingo syntax
memberObjRef.fillScale
// JavaScript syntax
memberObjRef.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:
-- Lingo syntax
member("Archie").fillScale = 33.00
// JavaScript syntax
member("Archie").fillScale = 33.00;
See also
fillMode