Lingo Dictionary > L-N > lineSize |
![]() ![]() ![]() |
lineSize
Syntax
member(
whichCastMember).
lineSize
the lineSize of member
whichCastMember
sprite
whichSprite.
lineSize
the lineSize of sprite
whichSprite
Description
Shape cast member property; determines the thickness, in pixels, of the border of the specified shape cast member displayed on the Stage. For nonrectangular shapes, the border is the edge of the shape, not its bounding rectangle.
The lineSize
setting of
the
sprite takes precedence over the lineSize
setting of
the member. If Lingo changes the member's lineSize
setting while a sprite is on the Stage, the sprite's lineSize
setting remains in effect until the sprite is finished.
For the value set by Lingo to last beyond the current sprite, the sprite must be a puppet.
This property can be tested and set.
Example
This statement sets the thickness of the shape cast member Answer Box to 5 pixels:
member("Answer Box").lineSize = 5
Example
This statement displays the thickness of the border of sprite 4:
thickness = sprite(4).lineSize
Example
This statement sets the thickness of the border of sprite 4 to 3 pixels:
sprite(4).lineSize = 3
![]() ![]() ![]() |