@mapgear/geoapps > StrokeStyle
StrokeStyle class
Represents the styling of an Stroke symbology
Signature:export declare class StrokeStyle
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| B | number | The blue value of this stroke color | |
| G | number | The green value of this stroke color | |
| LegendMarginTop | readonly | string | Get the margin top of the legend based on stroke width |
| LineDash | number[] | The linedash of the stroke in a number array, e.g. [2, 2] | |
| Opacity | number | The opacity of this stroke color | |
| R | number | The red value of this stroke color | |
| RGBA | readonly | string | Returns the color in RGBA format |
| Width | number | The width of the stroke | |
| WidthPixel | readonly | string | Get the width in pixels in string-format |