Lingo Dictionary > D-F > endColor |  |

endColor

Syntax

    the endColor of member whichCastMember

Description

Vector shape cast member property; the ending color of a gradient shape's fill specified as an RGB value.

`endColor` is only valid when the `fillMode` is set to `#gradient`, and the starting color is set with `fillColor`.

This property can be tested and set.

To see an example of `endColor` used in a completed movie, see the Vector Shapes movie in the Learning\Lingo Examples folder inside the Director application folder.

See also

`color()`, `fillColor`, `fillMode`