Class RectangleBoundary
Definition
- Assembly:
- Tizen.Location.dll
This class represents a rectangular location boundary. Inherits the Abstract LocationBoundary class.
public class RectangleBoundary : LocationBoundary, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceRectangleBoundary(Coordinate, Coordinate)
The constructor of the Rectangle boundary class.
Declaration
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. |
Properties
View SourceBottomRight
Gets the bottom-right handside coordinate of a rectangular boundary.
Declaration
public Coordinate BottomRight { get; }
Property Value
Type | Description |
---|---|
Coordinate |
TopLeft
Gets the top-left handside coordinate of a rectangular boundary.
Declaration
public Coordinate TopLeft { get; }
Property Value
Type | Description |
---|---|
Coordinate |
Implements
System.IDisposable