Class Polygon

Definition

Namespace:
Tizen.Maps
Assembly:
Tizen.Maps.dll

The polygon map object.

C#
Copy
[Obsolete("Deprecated since API11. Might be removed in API13.")] public class Polygon : MapObject, IDisposable
Inheritance
object
Polygon
Implements
System.IDisposable

Constructors

View Source

Polygon(IEnumerable<Geocoordinates>, Color)

Creates a polygon visual object.

Declaration
C#
Copy
[Obsolete("Deprecated since API10. Might be removed in API12.")] public Polygon(IEnumerable<Geocoordinates> coordinates, Color color)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T><Geocoordinates> coordinates

List of geographical coordinates.

Color color

Background color.

Exceptions
Type Condition
System.ArgumentException

Thrown when input values are invalid.

Properties

View Source

Coordinates

Gets or sets a list of geographical coordinates for polygon vertices.

Declaration
C#
Copy
[Obsolete("Deprecated since API11. Might be removed in API13.")] public IEnumerable<Geocoordinates> Coordinates { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><Geocoordinates>
View Source

FillColor

Gets or sets a background color to fill the polygon.

Declaration
C#
Copy
[Obsolete("Deprecated since API11. Might be removed in API13.")] public Color FillColor { get; set; }
Property Value
Type Description
Color
View Source

IsVisible

Gets or sets visibility for the polygon.

Declaration
C#
Copy
[Obsolete("Deprecated since API11. Might be removed in API13.")] public override bool IsVisible { get; set; }
Property Value
Type Description
bool
Overrides

Methods

View Source

Dispose()

Releases all the resources used by this object.

Declaration
C#
Copy
[Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose()
View Source

Dispose(bool)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
C#
Copy
[Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
bool disposing

If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.

View Source

~Polygon()

Destroy the Polygon object.

Declaration
C#
Copy
protected ~Polygon()

Events

View Source

Clicked

Adds or removes the clicked event handlers.

Declaration
C#
Copy
[Obsolete("Deprecated since API10. Might be removed in API12.")] public event EventHandler Clicked
Event Type
Type Description
System.EventHandler

Implements

System.IDisposable