Initializes a new instance of the Polygon class.

Namespace: Reimers.Google.Map
Assembly: Reimers.Google.Map (in Reimers.Google.Map.dll) Version: 5.3.95.699 (5.3.95.699)

Syntax

C#
public Polygon(
	Guid id,
	IEnumerable<ICoordinates> points,
	Color borderColor,
	int borderWidth,
	double borderOpacity,
	Color fillColor,
	double fillOpacity
)

Parameters

id
Type: System..::..Guid
A String setting the ID of the Polygon.
points
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'ICoordinates>)>)>
A List<(Of <(<'T>)>)> containing the LatLng that describe the Polygon.
borderColor
Type: System.Drawing..::..Color
A Color setting the color of the Polygon border.
borderWidth
Type: System..::..Int32
The width of the polygon border as an Int32.
borderOpacity
Type: System..::..Double
The opacity of the polygon border as a Double value.
fillColor
Type: System.Drawing..::..Color
The Color to use to fill the polygon.
fillOpacity
Type: System..::..Double
The opacity of the polygon as a Double.

See Also