Lingo Dictionary > D-F > fillOffset |  |

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`