SetScreen Color Command

SETSCREEN Color Commands

Sets the screen for an object or text, or for a style tag. If object or text is chosen and nothing is selected, it sets the screen for future objects or text, as applicable.

setscreen <4 ( )...> [what] [DOCUMENT name | WINDOW name | OBJECTID number | STYLETAG name]

4 The colors to set. OrderL
1 Cyan
2 Magenta
3 Yellow
4 Black

Repeat once for each color.

DEFAULT Sets the default screen frequency.

frequency/d Sets a custom screen frequency.

DEFAULT Sets the default screen angle.

frequency/d Sets a custom screen angle.

type/k Sets the screen type.

Options: DEFAULT Sets the device's default.
DOT Sets a dot screen.
LINE Sets a line screen.
TRIANGLE Sets a triangle screen.
PROPELLER Sets a propeller screen.
DONUT Sets a donut screen.
RING Sets a ring screen.
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.

Examples:

/* sets the screen of black */
setscreen 4 default default default default default ยจ
default default default default 133 60 ring object

 

SetScreen  Command Definition  url:PGScmd/setscreen
  created:2006-03-31 10:52:58   last updated:2006-03-31 10:52:58
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SetScreen
Dan Kilroy wrote...2006-05-03 18:17:43

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

Sets the {...} .

SetScreen (count {<DEFAULT|freq> <DEFAULT|angle> <DEFAULT|DOT|LINE|specialspotname>} [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])

Parameters:


Results:


Notes:
count == 0 will set all 4 plates (CMYK) to DEFAULT freq/angle/ and spot
BULLET, DROPCAP, and NUMBERED parameters first available in 5.0.3.2.


See Also:
Filled, SetColor, SetColorBlend, SetColorCount, SetColorStyle, SetColorTint, SetFill, SetFPattern, SetFPatternStyle, SetScreen, SetStroke, SetStrokeBegin, SetStrokeCap, SetStrokeCount, SetStrokeEnd, SetStrokeJoin, SetStrokeOffset, SetStrokeStyle, SetStrokeWeight, SetTrapping, Stroked


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For SetScreen