Class Polygon
Definition
- Namespace:
- Tizen.Maps
- Assembly:
- Tizen.Maps.dll
- API Level:
- 3
The polygon map object.
public class Polygon : MapObject, IDisposable
- Inheritance
- Implements
Constructors
View SourcePolygon(IEnumerable<Geocoordinates>, Color)
Creates a polygon visual object.
Declaration
public Polygon(IEnumerable<Geocoordinates> coordinates, Color color)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Geocoordinates> | coordinates | List of geographical coordinates. |
Color | color | Background color. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown when input values are invalid. |
API Level: 3
Properties
View SourceCoordinates
Gets or sets a list of geographical coordinates for polygon vertices.
Declaration
public IEnumerable<Geocoordinates> Coordinates { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<Geocoordinates> |
API Level: 3
View SourceFillColor
Gets or sets a background color to fill the polygon.
Declaration
public Color FillColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
API Level: 3
View SourceIsVisible
Gets or sets visibility for the polygon.
Declaration
public override bool IsVisible { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
API Level: 3
Methods
View SourceDispose()
Releases all the resources used by this object.
Declaration
public void Dispose()
API Level: 3
View SourceDispose(Boolean)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. |
API Level: 3
View SourceFinalize()
Destroy the Polygon object.
Declaration
protected void Finalize()
Events
View SourceClicked
Adds or removes the clicked event handlers.
Declaration
public event EventHandler Clicked
Event Type
Type | Description |
---|---|
EventHandler |