User Guide

834 Chapter 14: Properties
lineOffset
Usage
member(whichCastmember).model(whichModel).toon.lineOffset
member(whichCastmember).model(whichModel).inker.lineOffset
Description
3D toon and inker modifier property; indicates the apparent distance from the models surface
at which lines are drawn by the modifier. For this property to have an effect, the modifiers
useLineOffset property must be set to TRUE, and one or more of its creases, silhouettes, or
boundary
properties must also be set to TRUE.
This range of this property is -100.00 to +100.00. Its default setting is -2.0.
Example
The following statement sets the lineOffset property of the toon modifier for the model named
Teapot to 10. The lines drawn by the toon modifier on the surface of the model will stand out
more than they would at the default setting of -2.
member("shapes").model("Teapot").toon.lineOffset = 10
See also
creases, silhouettes, boundary, useLineOffset, lineColor
lineSize
Usage
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 members
lineSize setting while a sprite is on the Stage, the sprites 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 scripted sprite.
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
This statement displays the thickness of the border of sprite 4:
thickness = sprite(4).lineSize
This statement sets the thickness of the border of sprite 4 to 3 pixels:
sprite(4).lineSize = 3