AddPoint Drawing Command

Adds a point to the current path.

addpoint <[MOVETO pointx pointy [join]] | [LINETO pointx pointy [join]] | [CURVETO curvex1 curvey1 curvex2 curvey2 pointx pointy [join]] | [CLOSEPATH]> [PAGE number | WINDOW name | OBJECTID number]

MOVETO/d The first point of a new path or subpath.

LINETO/d Draws a line to the point.

CURVETO/d Draws a bezier curve to the point.

CLOSEPATH Closes the open path.

join/k Specifies the join type: cornerjoin (default)|smoothjoin.

PAGE/s The page number. Default=current.

WINDOW/s The window name. Default=current.

OBJECTID/i The number of the object to manipulate.

Notes:

The join type will not modify the coordinates you enter. This parameter is used by PageStream when the user draws. You can use it manually, but it won't affect the coordinates until the user modifies a curve handle with the Reshape tool.

Examples:
ARexx:

addpoint lineto 5.1 6.25 addpoint moveto 1.6 7.3 addpoint arcto 0.5 7.3 1.2 1.65 25 93 addpoint closepath page 'project.doc~8'

 

AddPoint  Command Definition  url:PGScmd/addpoint
  created:2006-03-29 17:47:08   last updated:2006-08-18 08:45:13
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For AddPoint
Dan Kilroy wrote...2006-05-03 19:45:44

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Adds a {...} .

AddPoint ([MOVETO x1 y1] [LINETO x1 y1] [CURVETO cx1 cy1 cx2 cy2 px2 py2] [CLOSECURVE cx1 cy1 cx2 cy2] [CLOSEPATH] [CORNERJOIN | SMOOTHJOIN] [ATEND | AFTER pointindex | BEFORE pointindex] [DOCUMENT document | WINDOW document-window | OBJECTID objectid])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For AddPoint