Class MapsBorderSettings
Defines the options for customizing the color, width, and opacity of borders in the maps.
Inheritance
MapsBorderSettings
Inherited Members
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsBorderSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
MapsBorderSettings()
Declaration
public MapsBorderSettings()
Properties
Color
Gets or sets the color of the border.
Declaration
[Parameter]
public string Color { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the border color, which can be a hex code or an rgba string as a valid CSS color string. |
Remarks
This property allows setting the visual color attribute of the border using various CSS color formats.
Opacity
Gets or sets the opacity of the border in maps.
Declaration
[Parameter]
public double Opacity { get; set; }
Property Value
| Type | Description |
|---|---|
| double | A double indicating the opacity of the border, with a default value of 1. |
Remarks
This property adjusts the transparency level of the border, where 0 is fully transparent and 1 is fully opaque.
Width
Gets or sets the width of the border in maps.
Declaration
[Parameter]
public double Width { get; set; }
Property Value
| Type | Description |
|---|---|
| double | A double representing the border width, with a default value of 1. |
Remarks
This property specifies how thick the border will appear on the map.