Class Area

Definition

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

The class representing a geographical area.

C#
Copy
public class Area : IDisposable
Inheritance
Area
Implements
System.IDisposable

Constructors

View Source

Area(Geocoordinates, Double)

Constructs a circular area.

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

Coordinates for center of the area.

System.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.

InvalidOperationException

Thrown when a native operation fails to allocate memory.

API Level: 3
View Source

Area(Geocoordinates, Geocoordinates)

Constructs a rectangular area.

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

InvalidOperationException

Thrown when a native operation fails to allocate memory.

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 Area object.

Declaration
C#
Copy
protected void Finalize()

Implements

System.IDisposable