DrawLine Drawing Command

Draws a new line.

drawline <left top right bottom> [ROTATE angle | SKEW slantangle twistangle | SLANT angle | TWIST angle] [ABOUT pointx pointy | ABOUTCENTER] [constraint] [printable] [stack] [PAGE number | MPG name/S | DOCUMENT name | WINDOW name]

left.../d The coordinates of the line.

ROTATE/d The rotation angle. Default=0.

SKEW/d The slant and twist angle. Default=0.

SLANT/d The slant angle. Default=0.

TWIST/d The twist angle. Default=0.

ABOUT/d The rotation point.

ABOUTCENTER Rotates around its center. Default.

constraint/k The aspect ratio constraint toggle.

Options: CONSTRAIN|FREE (default).

printable/k The print object toggle.

Options: PRINT (default)|NOPRINT.

stack/k The stack position.

Options: INFRONT (default)|INBACK.

PAGE/s The page number. Default=current.

MPG/s The master page name and side. Default=current.

DOCUMENT/s The document name. Default=current.

WINDOW/s The window name. Default=current.

Results:

The identification number (handle) of the new object is returned to RESULT.

Examples:
ARexx:

drawline 1 1 5 5
drawline 2 1.25 8.5 11 page 'project.doc~6' noprint

 

DrawLine  Command Definition  url:PGScmd/drawline
  created:2006-03-30 13:47:47   last updated:2006-08-18 11:47:49
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For DrawLine
Dan Kilroy wrote...2006-05-03 19:07:30

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

Draws a {...} .

objectid = DrawLine (x1 y1 x2 y2 [ROTATE rotation | SKEW slant twist | SLANT slant | TWIST twist] [ABOUT x y | ABOUTCENTER] [INFRONT | INBACK] [CONSTRAIN | FREE] [PRINT | NOPRINT] [PAGE document:...-pagenum | MPG document:...-masterpage:side | DOCUMENT document | WINDOW document-window])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For DrawLine