7.6

Table Of Contents
moveto(1,1) %Reset current point
lineto(1.5,2) %Draw first line
lineto(0.5,2) %Draw second line
closepath() %Close shape
stroke() %Draw shape
Object $name()... EndObject (procedure)
Creates an object. You can reference the object you create using the $ operator. See "$element (procedure)" (page 612).
This command can only be used from within the PressTalk Before and PressTalk After of a PlanetPress Design doc-
ument, and cannot exist within a page's properties or the PressTalk of any object, including
Syntax
Syntax for an object that does not set its Set snapping point property:
object $name( top, left, width, height, condition, angle, setsnappingpoint, snaptoprevious )
...
endobject()
Syntax for an object that does set its Set snapping point property:
object $name( top, left, width, height, condition, angle, setsnappingpoint, snaptoprevious )
...
moveto( x_value, y_value )
endobject()
Argument
name
Name to use for the object, preceded by the dollar sign character ($). The name must conform to the rules for names
described in "Names" (page 221).
top
Measure value specifying the distance, in inches, to offset the top edge of the picture object, from the top edge of the doc-
ument page. If you set the snaptoprevious argument to a value other than 0, the value you set for the top argument becomes
the vertical offset for the Snap to previous snapping point.
left
Measure value specifying the distance, in inches, to offset the left edge of the picture object, from the left edge of the doc-
ument page. If you set the snaptoprevious argument to a value other than 0, the value you set for the left argument becomes
the horizontal offset for the Snap to previous snapping point.
width, height
©2010 Objectif Lune Inc - 429 -