<< SetEPS | SetFirstLine >> |
Top: Documentation Library | Up: S Commands |
SetFill Color Command
SETFILL Color Commands
Sets the fill type for an object or text, or for a style tag. If object or text is chosen and nothing is selected, it sets the fill type for future objects or text, as applicable.
setfill
BASIC Sets the type to basic.
GRADIENT/d Sets the type to gradient and specifies the taper angle.
RADIAL/d Sets the type to radial and specifies the offset.
SHAPE/d Sets the type to shape and specifies the inset.
RAMP/k Sets the taper for gradient, radial and shape fills.
Options: LINEAR | INVLINEAR | LOG | INVLOG | SIN | INVSIN | SAW | INVSAW.
ALL Sets the fill and stroke fill.
Default.
FILL Sets the fill only.
STROKENUMBER/i Sets a stroke only. See notes.
what/k Specifies what to set.
Options: OBJECT The object. Default.
TEXT The text.
SHADOW The text shadow.
REVERSE The text reverse.
UNDERLINE The text underline.
OUTLINE The text outline.
DOCUMENT/s The document name.
WINDOW/s The window name.
OBJECTID/i The number of the object.
Default=current.
STYLETAG/s Sets the attribute for a style tag.
Notes:
STROKENUMBER: Strokes are numbered from 0. This is different than the program interface which numbers them from 1.
The program interface limits gradient, radial and shape fill types to fills, but you can apply these to strokes via this script, even though this may not produce useful results.
Examples:
setfill basic setfill basic strokenumber 1 object setfill gradient 45
SetFill Command Definition url:PGScmd/setfill
created:2006-03-31 10:52:55 last updated:2006-03-31 10:52:55
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For SetFill | sign in to add a comment |
Dan Kilroy wrote... | 2006-05-03 17:48:20 |
Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above. Sets the {...} . SetFill ([BASIC | GRADIENT angle [RAMP <LINEAR|INVLINEAR|LOG|INVLOG|SIN|INVSIN|SAW|INVSAW>] | RADIAL xoff yoff [RAMP <LINEAR|INVLINEAR|LOG|INVLOG|SIN|INVSIN|SAW|INVSAW>] | SHAPE inset [RAMP <LINEAR|INVLINEAR|LOG|INVLOG|SIN|INVSIN|SAW|INVSAW>]> [ALL | FILL | STROKENUMBER n] [OBJECT | TEXT | SHADOW | OUTLINE | REVERSE | UNDERLINE | PGS40: RULEABOVE | RULEBELOW] PGS41: CELLFILL|CELLTOP|CELLBOTTOM|CELLLEFT|CELLRIGHT PGS50: DROPCAP|BULLET|NUMBERED [DOCUMENT document | WINDOW document-window | ID id | STYLETAG document:...-tagname])
ARexx: Applescript: | |
User Contributed Comments For SetFill | sign in to add a comment |
<< SetEPS | SetFirstLine >> |
Top: Documentation Library | Up: S Commands |