Class Area

    Definition

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

    The class representing a geographical area.

    public class Area : IDisposable
    Inheritance
    object
    Area
    Implements
    System.IDisposable

    Constructors

    View Source

    Area(Geocoordinates, double)

    Constructs a circular area.

    Declaration
    public Area(Geocoordinates center, double radius)
    Parameters
    Type Name Description
    Geocoordinates center

    Coordinates for center of the area.

    double radius

    Radius of the area.

    Exceptions
    Type Condition
    System.NotSupportedException

    Thrown when the required feature is not supported.

    System.ArgumentException

    Thrown when input coordinates are invalid.

    System.InvalidOperationException

    Thrown when a native operation fails to allocate memory.

    View Source

    Area(Geocoordinates, Geocoordinates)

    Constructs a rectangular area.

    Declaration
    public Area(Geocoordinates topLeft, Geocoordinates bottomRight)
    Parameters
    Type Name Description
    Geocoordinates topLeft

    Top-left coordinates of the area.

    Geocoordinates bottomRight

    Bottom-left coordinates of the area.

    Exceptions
    Type Condition
    System.NotSupportedException

    Thrown when the required feature is not supported.

    System.ArgumentException

    Thrown when input coordinates are invalid.

    System.InvalidOperationException

    Thrown when a native operation fails to allocate memory.

    Methods

    View Source

    Dispose()

    Releases all the resources used by this object.

    Declaration
    public void Dispose()
    View Source

    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.

    View Source

    ~Area()

    Destroy the Area object.

    Declaration
    protected ~Area()

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX