DrawEllipse Drawing Command

Draws a new ellipse.

drawellipse <centerx centery radiusx radiusy> [type] [ANGLES startangle endangle] [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]

center.../d The coordinates of the center point.

radius.../d The radius of the ellipse.

type/k The ellipse type.

Options: PIE|ARC|ELLIPSE (default).

ANGLES/d The starting and ending angles.

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:

drawellipse 3 3 1.5 1.5
drawellipse 3 3 1.5 1.5 page 'MyDoc~6' constrain
drawellipse 5.25 6.125 1.5 2.5 pie angles 45 90 print

 

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

User Contributed Comments For DrawEllipse
Dan Kilroy wrote...2006-05-03 15:18:07

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

Gets the {...} .

objectid = DrawEllipse (xcenter ycenter xradius yradius [PIE | ARC | ELLIPSE] [ANGLES bangle eangle] [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 DrawEllipse