API / geotoolkit / schematics / utils / StyleUtils / StyleUtils
utils.StyleUtils.StyleUtils
Defines helper methods for component nodes to work with colored styles
Constructors
Methods
▸ getClassName(): string
string
▸ Static getAverageGrayColor(srcColor): RgbaColor
Gets average gray color
| Name | Type | Description |
|---|---|---|
srcColor | RgbaColor | input RGBA-color |
▸ Static getClassName(): string
string
▸ Static getGrayScaleFillStyle(srcFillStyle): FillStyle
Gets average gray fill style
| Name | Type | Description |
|---|---|---|
srcFillStyle | FillStyle | input fill style |
▸ Static getGrayScaleLineStyle(srcLineStyle): LineStyle
Gets average gray line style
| Name | Type | Description |
|---|---|---|
srcLineStyle | LineStyle | input line style |