Class Polyline

Definition

Namespace:
Tizen.Maps
Assembly:
Tizen.Maps.dll
API Level:
3

The polyline map object.

C#
Copy
public class Polyline : MapObject, IDisposable
Inheritance
System.Object
Polyline
Implements
System.IDisposable

Constructors

View Source

Polyline(List<Geocoordinates>, Color, Int32)

Creates polyline visual object.

Declaration
C#
Copy
[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<Geocoordinates> coordinates

List of geographical coordinates.

Color color

Line color.

Int32 width

The width of line [1 ~ 100] (pixels).

Exceptions
Type Condition
System.ArgumentException

Thrown when input values are invalid.

API Level: 3

Properties

View Source

Coordinates

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

Declaration
C#
Copy
public IEnumerable<Geocoordinates> Coordinates { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Geocoordinates>
API Level: 3
View Source

IsVisible

Gets or sets the visibility for polyline.

Declaration
C#
Copy
public override bool IsVisible { get; set; }
Property Value
Type Description
Boolean
Overrides
API Level: 3
View Source

LineColor

Gets or sets the line color.

Declaration
C#
Copy
public Color LineColor { get; set; }
Property Value
Type Description
Color
API Level: 3
View Source

Width

Gets or sets the line width from 1 to 100 pixels.

Declaration
C#
Copy
public int Width { get; set; }
Property Value
Type Description
Int32
API Level: 3

Methods

View Source

Dispose()

Releases all the resources used by this object.

Declaration
C#
Copy
public void Dispose()
API Level: 3
View Source

Dispose(Boolean)

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

Declaration
C#
Copy
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 Source

Finalize()

Destroy the Polyline object.

Declaration
C#
Copy
protected void Finalize()

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
API Level: 3

Implements

System.IDisposable