Lingo Dictionary > S > strokeWidth

 

strokeWidth

Syntax

member(whichCastMember).strokeWidth

Description

Vector shape cast member property; indicates the width, in pixels, of the shape's framing stroke.

The value is a floating point number between 0 and 100, and can be tested and set.

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

Example

This sets the strokeWidth of cast member "line" to 10 pixels.

member(1).strokeWidth = 10