LabelBackgroundStyle
Defines the style for the background of a label overlay.
Properties
fill?
optionalfill:string
Fill color for the background.
opacity?
optionalopacity:number
Opacity for the background.
padding?
optionalpadding:number
Padding to leave around the label. Defaults to 5.
rx?
optionalrx:number
Horizontal radius for the background rectangle's corners.
ry?
optionalry:number
Vertical radius for the background rectangle's corners. If you provide rx but not this, ry will take the value of rx.
stroke?
optionalstroke:string
Stroke color for the background.
strokeOpacity?
optionalstrokeOpacity:number
Stroke opacity for the background.
strokeWidth?
optionalstrokeWidth:number
Stroke width for the background.