User Guide

1046 Chapter 14: Properties
lineColor allows you to get or set the color of lines drawn by the inker. Possible values are any
valid Lingo color object. The default value is
rgb (0, 0, 0), which is black.
creases allows you to get or set whether lines are drawn in creases. This is a Boolean value; the
default value is
True.
creaseAngle, if creases is set to TRUE, allows you to get or set how sensitive the line drawing
function of the toon modifier is to the presence of creases.
boundary allows you to get or set whether lines are drawn around the boundary of the surface.
This is a Boolean value; the default value is
True.
lineOffset allows you to get or set where lines are drawn relative to the shaded surface and
the camera. Negative lines move lines toward the camera. Positive values move lines away from
the camera. Possible values are floating-point numbers from -100.0 to 100.0. The default value
is -2.0.
useLineOffset allows you to get or set whether lineOffset is on or off. This is a Boolean
value; the default value is
False.
silhouettes allows you to get or set whether lines are drawn to define the edges along the
border of a model, outlining its shape. This is a Boolean value; the default value is
True.
See also
addModifier, modifiers, sds (modifier), inker (modifier)
top
Usage
-- Lingo syntax
spriteObjRef.top
// JavaScript syntax
spriteObjRef.top;
Description
Sprite property; returns or sets the top vertical coordinate of the bounding rectangle of a sprite as
the number of pixels from the upper left corner of the Stage. Read/write.
Example
This statement checks whether the top of sprite 3 is above the top of the Stage and calls the
handler offTopEdge if it is:
-- Lingo syntax
if (sprite(3).top < 0) then
offTopEdge()
end if
// JavaScript syntax
if (sprite(3).top < 0) {
offTopEdge();
}
See also
bottom, height, left, locH, locV, right, Sprite, width