SetFPatternStyle <span style='font-style:italic;'>Style Command</span>

SETFPATTERNSTYLE Color Commands

Sets the fill pattern style tag for the selected object(s). If no objects are selected, it sets the fill pattern style for future objects.

setfpatternstyle [ALL | FILL | STROKENUMBER number] [what] [DOCUMENT name | WINDOW name | OBJECTID number | STYLETAG name]

patternname/s The fill pattern style to set.

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:

setfpatternstyle '15'

setfpatternstyle 'Bricks' fill object

 

SetFPatternStyle  Command Definition  url:PGScmd/setfpatternstyle
  created:2006-03-31 10:52:55   last updated:2006-03-31 10:52:55
  Copyright © 1985-2021 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SetFPatternStyle
Dan Kilroy wrote...2006-05-03 15:55:03

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

Gets the {...} .

SetFPatternStyle (tagname [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])

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 SetFPatternStyle