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

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.

ArgumentException

Thrown when an invalid argument is used.

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.

ArgumentException

Thrown when an invalid argument is used.

NotSupportedException

Thrown when the location is not supported.

API Level: 3

Implements