Class RectangleBoundary

Definition

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

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

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

Constructors

View Source

RectangleBoundary(Coordinate, Coordinate)

The constructor of the Rectangle boundary class.

Declaration
C#
Copy
public RectangleBoundary(Coordinate topLeft, Coordinate bottomRight)
Parameters
Type Name Description
Coordinate topLeft

The coordinate which constitutes the top-left handside of the rectangular boundary.

Coordinate bottomRight

The coordinate which constitutes the bottom-right handside of the rectangular boundary.

Exceptions
Type Condition
System.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

BottomRight

Gets the bottom-right handside coordinate of a rectangular boundary.

Declaration
C#
Copy
public Coordinate BottomRight { get; }
Property Value
Type Description
Coordinate
API Level: 3
View Source

TopLeft

Gets the top-left handside coordinate of a rectangular boundary.

Declaration
C#
Copy
public Coordinate TopLeft { get; }
Property Value
Type Description
Coordinate
API Level: 3

Implements

System.IDisposable