The Polygon type exposes the following members.

Constructors

  NameDescription
Public methodPolygon()()()()
Initializes a new instance of the Polygon class.
Public methodPolygon(Guid)
Initializes a new instance of the Polygon class.
Public methodPolygon(Guid, array<Byte>[]()[][])
Initializes a new instance of the Polygon class.
Public methodPolygon(Guid, IEnumerable<(Of <<'(ICoordinates>)>>))
Initializes a new instance of the Polygon class.
Public methodPolygon(Guid, array<Byte>[]()[][], Color, Double)
Initializes a new instance of the Polygon class.
Public methodPolygon(Guid, IEnumerable<(Of <<'(ICoordinates>)>>), Color, Double)
Initializes a new instance of the Polygon class.
Public methodPolygon(Guid, array<Byte>[]()[][], Color, Int32, Double, Color, Double)
Initializes a new instance of the Polygon class.
Public methodPolygon(Guid, IEnumerable<(Of <<'(ICoordinates>)>>), Color, Int32, Double, Color, Double)
Initializes a new instance of the Polygon class.

Methods

  NameDescription
Public methodClientSideID
Gets the ID of the Polygon when it is rendered on the client.
(Overrides OverlayBase..::..ClientSideID(Map).)
Public methodClone
Creates a shallow copy of the Polygon.
Public methodCompareTo(Object)
Returns an Int32 showing the relative order of the two objects.
(Inherited from OverlayBase.)
Public methodCompareTo(OverlayBase)
Returns an Int32 showing the relative order of the two objects.
(Inherited from OverlayBase.)
Public methodContains(ICoordinates)
Returns a Boolean value indicating whether the LatLng is inside the polygon.
Public methodContains(Double, Double)
Returns a Boolean value indicating whether the given coordinates are inside the polygon.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberParseEncodedString
Parses a string encoded according to Google's polyline encoding algorithm to extract the coordinates.
Public methodStatic memberParsePointString(String)
Parses a string of coordinates to create a List of LatLngs.
Public methodStatic memberParsePointString(String, Boolean)
Parses a string of coordinates to create a List of LatLngs.
Public methodStatic memberReadPointsFromByteArray
Returns a List<(Of <(<'T>)>)> from an array of Byte.
Public methodRenderString
The JavaScript rendering script.
(Overrides OverlayBase..::..RenderString(Map).)
Public methodToEncodedString
Creates a String encoded according to Google's polyline encoding algorithm.
Public methodToString
Returns a String that represents the current Object.
(Inherited from OverlayBase.)
Public methodStatic memberWritePointsToByteArray
Returns the points as an array of Byte.
Public methodStatic memberWritePointString(IEnumerable<(Of <<'(ICoordinates>)>>))
Writes a List of LatLngs as a point list in String format.
Public methodStatic memberWritePointString(IEnumerable<(Of <<'(ICoordinates>)>>), Boolean)
Writes a List of LatLngs as a point list in String format.

Operators

  NameDescription
Public operatorStatic memberImplicitWideningImplicitImplicitImplicit(Polygon to Polyline)
Performs an implicit conversion to a Polyline.

Properties

  NameDescription
Public propertyBorderColor
Gets or sets the border color.
Public propertyBorderOpacity
Gets or sets the border opacity.
Public propertyBorderWidth
Gets or sets the border width.
Public propertyBounds
Gets the bounds of the polygon.
(Overrides OverlayBase..::..Bounds.)
Public propertyClientsideHandlers
Gets or sets the JavaScript commands to execute on events for the overlay.
Public propertyDescription
Gets or sets a description of the overlay.
(Inherited from OverlayBase.)
Public propertyFillColor
Gets or sets the fill color.
Public propertyFillOpacity
Gets or sets the fill opacity.
Public propertyID
Gets or sets the ID of the overlay.
(Inherited from OverlayBase.)
Public propertyInnerHoles
Gets or sets the inner holes in the polygon.
Public propertyName
Gets or sets the name of the overlay.
(Inherited from OverlayBase.)
Public propertyOptions
Gets or sets options for the overlay.
(Inherited from OverlayBase.)
Public propertyPoints
Gets or sets the list of points that describe the polygon.
Public propertyStyle
Gets or sets the overlay style.
(Inherited from OverlayBase.)
Public propertyType
Gets the type of overlay.
(Overrides OverlayBase..::..Type.)

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate propertyIGeoPolygon..::..InnerHoles
Explicit interface implemetationPrivate propertyIGeoPolygon..::..Points
Gets the ICoordinates defining the perimeter.

See Also