CSOListToStylePalette¶
-
MLModule
¶ author Christoph Brachmann
package FMEwork/ReleaseMeVis
dll MLCSOMiscModules
definition CSOListToStylePalette.def see also StylePalette
,DynamicStylePalette
,ApplyStylePaletteToCSOList
keywords CSO,
,color,
,style,
,line
Purpose¶
Maps CSO properties, such as line or marker color to a StylePalette.
Usage¶
A typical use-case is to match CSO colors to the corresponding curve colors (see example network).
Details¶
Output Fields¶
Parameter Fields¶
Field Index¶
Auto update : Bool |
Take color from: : Enum |
Create style for each: : Enum |
Update : Trigger |
dumpPalette : Trigger |
|
Is Up To Date : Bool |
|
lineWidth : Integer |
|
Number of styles : Integer |
|
resetPalette : Trigger |
|
Set Anti Alias : Bool |
Visible Fields¶
Create style for each:¶
-
name:
styleSource
, type:
Enum
, default:
CSO Id
¶ Select if a style is generated per CSO id or group ID.
Values:
Title | Name | Description |
---|---|---|
CSO Id | CSO Id | StylePalette size will be set to maximum CSO id. Every CSO id will match one StylePalette index. Note that StylePalette indices are continuous so for CSO ids [2, 5, 6] there will be [1,2,3,4,5,6] styles. |
Group Id | Group Id | StylePalette size will be set to maximum CSO group id. Every group id will match one StylePalette index. Note that StylePalette indices are continuous so for group ids [2, 5, 6] there will be [1,2,3,4,5,6] styles. |
Group Label | Group Label | The number of styles will match the number of distinct group labels. In this case CSO group ids and style indices do not correspond. |
Take color from:¶
-
name:
styleColor
, type:
Enum
, default:
Path color
¶ Select which CSO attribute maps to style color.
Values:
Title | Name | Description |
---|---|---|
None | None | Defaults to white. |
Path point color | Path color | CSO path point color |
Seed point color | Marker color | CSO seed point color |
Set Anti Alias¶
-
name:
setAntiAlias
, type:
Bool
, default:
TRUE
¶ Select if output styles should be anti-aliased.
Number of styles¶
-
name:
numStyles
, type:
Integer
, persistent:
no
¶ Indicates how many styles have been generated (read-only).