Class Area
Definition
- Namespace:
- Tizen.Maps
- Assembly:
- Tizen.Maps.dll
- API Level:
- 3
The class representing a geographical area.
public class Area : IDisposable
- Inheritance
-
Area
- Implements
Constructors
View SourceArea(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 |
---|---|
NotSupportedException | Thrown when the required feature is not supported. |
ArgumentException | Thrown when input coordinates are invalid. |
InvalidOperationException | Thrown when a native operation fails to allocate memory. |
API Level: 3
View SourceArea(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 |
---|---|
NotSupportedException | Thrown when the required feature is not supported. |
ArgumentException | Thrown when input coordinates are invalid. |
InvalidOperationException | Thrown when a native operation fails to allocate memory. |
API Level: 3
Methods
View SourceDispose()
Releases all the resources used by this object.
Declaration
public void Dispose()
API Level: 3
View SourceDispose(Boolean)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
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 SourceFinalize()
Destroy the Area object.
Declaration
protected void Finalize()