Class Polyline

    Definition

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

    The polyline map object.

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

    Constructors

    View Source

    Polyline(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 Source

    Coordinates

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

    Declaration
    [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

    IsVisible

    Gets or sets the visibility for polyline.

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

    LineColor

    Gets or sets the line color.

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

    Width

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

    Declaration
    [Obsolete("Deprecated since API11. Might be removed in API13.")]
    public int Width { get; set; }
    Property Value
    Type Description
    int

    Methods

    View Source

    Dispose()

    Releases all the resources used by this object.

    Declaration
    [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
    [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

    ~Polyline()

    Destroy the Polyline object.

    Declaration
    protected ~Polyline()

    Events

    View Source

    Clicked

    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
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX