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#Copypublic class RectangleBoundary : LocationBoundary, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View Source
RectangleBoundary(Coordinate, Coordinate)
The constructor of the Rectangle boundary class.
Declaration
C#Copypublic 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
Declaration
C#Copypublic Coordinate BottomRight { get; }
Property Value
Type | Description |
---|---|
Coordinate |
API Level: 3
Declaration
C#Copypublic Coordinate TopLeft { get; }
Property Value
Type | Description |
---|---|
Coordinate |
API Level: 3
Implements
System.IDisposable