Class MapsBorderSettings
Defines the options for customizing the color, width, and opacity of borders in the maps.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsBorderSettings : OwningComponentBase
Constructors
MapsBorderSettings()
Declaration
public MapsBorderSettings()
Properties
Color
Gets or sets the color of the border.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.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
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.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
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double representing the border width, with a default value of 1. |
Remarks
This property specifies how thick the border will appear on the map.