Class PolygonBoundary

Definition

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

This class represents a polygonal location boundary. Inherits the Abstract LocationBoundary class.

C#
Copy
public class PolygonBoundary : LocationBoundary, IDisposable
Inheritance
PolygonBoundary
Implements
System.IDisposable

Constructors

View Source

PolygonBoundary(IList<Coordinate>)

The constructor of the Polygon Boundary class.

Declaration
C#
Copy
public PolygonBoundary(IList<Coordinate> coordinates)
Parameters
Type Name Description
IList<Coordinate> coordinates

The coordinates which constitute the polgonal boundary.

Exceptions
Type Condition
InvalidOperationException

Thrown when the operation is invalid for the current state.

System.ArgumentException

Thrown when an invalid argument is used.

System.NotSupportedException

Thrown when the location is not supported.

API Level: 3

Properties

View Source

Coordinates

Gets the list of coordinates which constitute a polygonal boundary.

Declaration
C#
Copy
public IList<Coordinate> Coordinates { get; }
Property Value
Type Description
IList<Coordinate>
Exceptions
Type Condition
InvalidOperationException

Thrown when the operation is invalid for the current state.

System.ArgumentException

Thrown when an invalid argument is used.

System.NotSupportedException

Thrown when the location is not supported.

API Level: 3

Implements

System.IDisposable