Class Area
Definition
- Assembly:
- Tizen.Maps.dll
The class representing a geographical area.
[Obsolete("Deprecated since API11. Might be removed in API13")]
public class Area : IDisposable
- Inheritance
-
objectArea
- Implements
-
System.IDisposable
Constructors
View SourceArea(Geocoordinates, double)
Constructs a circular area.
Declaration
[Obsolete("Deprecated since API10. Might be removed in API12.")]
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. |
Area(Geocoordinates, Geocoordinates)
Constructs a rectangular area.
Declaration
[Obsolete("Deprecated since API10. Might be removed in API12.")]
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 SourceDispose()
Releases all the resources used by this object.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public void Dispose()
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. |
~Area()
Destroy the Area object.
Declaration
protected ~Area()