Skip to main content

@mapgear/geoapps > StrokeStyle

StrokeStyle class

Represents the styling of an Stroke symbology

Signature:
export declare class StrokeStyle 

Properties

PropertyModifiersTypeDescription
BnumberThe blue value of this stroke color
GnumberThe green value of this stroke color
LegendMarginTopreadonlystringGet the margin top of the legend based on stroke width
LineDashnumber[]The linedash of the stroke in a number array, e.g. [2, 2]
OpacitynumberThe opacity of this stroke color
RnumberThe red value of this stroke color
RGBAreadonlystringReturns the color in RGBA format
WidthnumberThe width of the stroke
WidthPixelreadonlystringGet the width in pixels in string-format