Lingo Dictionary > L-N > lineDirection |
![]() ![]() ![]() |
lineDirection
Syntax
member(
whichCastMember)
.
lineDirection
Description
Shape member property; this property contains a 0 or 1 indicating the slope of the line drawn.
If the line is inclined from left to right, the property is set to 1; and if it is declined from left to right, the property is set to 0.
This property can be tested and set.
Example
This toggles the slope of the line in cast member "theLine", producing a see-saw effect:
on seeSaw member("theLine").lineDirection = \ not member("theLine").lineDirection end
![]() ![]() ![]() |