PolygonSettingModel

12 Sep 20251 minute to read

Interface for a class PolygonSetting

Properties

borderColor string

Gets or sets the color to be used in the border of the polygon shape.

borderOpacity number

Gets or sets the opacity of the border of the polygon shape.

borderWidth number

Gets or sets the width of the border of the polygon shape.

fill string

Gets or sets the color to be filled in the polygon shape.

opacity number

Gets or sets the opacity of the polygon shape.

points Coordinate[]

Gets or sets the points that define the polygon shape.
This property holds a collection of coordinates that define the polygon shape.

tooltipTemplate string|Function

Specifies any HTML content as a tooltip on the polygon shape. If it is not set, the tooltip will not be displayed.

tooltipText string

Specifies the tooltip text to be displayed for the polygon shape. If it is not set, the tooltip will not be displayed.