SetStrokeCount Color Command

SETSTROKECOUNT Color Commands

Sets the number of strokes for the selected object(s) or text. If nothing is selected, it sets the number of strokes for future objects or text, as applicable.

setstrokecount [what] [DOCUMENT name | WINDOW name | OBJECTID number | STYLETAG name]

count/i The number of strokes to set. (1-5)

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:

Strokes are numbered from 0. This is different than the program interface which numbers them from 1. If you create two strokes for an object, they will be numbered 0 and 1. The maximum number of strokes is 5.

Examples:

setstrokecount '3' object

 

SetStrokeCount  Command Definition  url:PGScmd/setstrokecount
  created:2006-03-31 10:52:59   last updated:2006-03-31 10:52:59
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SetStrokeCount
Dan Kilroy wrote...2006-05-03 17:38:55

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

Sets the {...} .

SetStrokeCount (count [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:
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 SetStrokeCount