Class Polyline
Definition
- Assembly:
- Tizen.Maps.dll
The polyline map object.
public class Polyline : MapObject, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourcePolyline(List<Geocoordinates>, Color, int)
Creates polyline visual object.
Declaration
[Obsolete("Deprecated since API10. Might be removed in API12.")]
public Polyline(List<Geocoordinates> coordinates, Color color, int width)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<T><Geocoordinates> | coordinates | List of geographical coordinates. |
Color | color | Line color. |
int | width | The width of line [1 ~ 100] (pixels). |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when input values are invalid. |
Properties
View SourceCoordinates
Gets or sets a list of geographical coordinates for polyline vertices.
Declaration
public IEnumerable<Geocoordinates> Coordinates { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Geocoordinates> |
IsVisible
Gets or sets the visibility for polyline.
Declaration
public override bool IsVisible { get; set; }
Property Value
Type | Description |
---|---|
bool |
Overrides
View SourceLineColor
Gets or sets the line color.
Declaration
public Color LineColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Width
Gets or sets the line width from 1 to 100 pixels.
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
View SourceDispose()
Releases all the resources used by this object.
Declaration
public void Dispose()
Dispose(bool)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
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. |
~Polyline()
Destroy the Polyline object.
Declaration
protected ~Polyline()
Events
View SourceClicked
Adds or removes the clicked event handlers.
Declaration
[Obsolete("Deprecated since API10. Might be removed in API12.")]
public event EventHandler Clicked
Event Type
Type | Description |
---|---|
System.EventHandler |
Implements
System.IDisposable