Class RectangleBoundary

    Definition

    Namespace:
    Tizen.Location
    Assembly:
    Tizen.Location.dll

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

    public class RectangleBoundary : LocationBoundary, IDisposable
    Inheritance
    object
    LocationBoundary
    RectangleBoundary
    Implements
    System.IDisposable

    Constructors

    View Source

    RectangleBoundary(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 Source

    BottomRight

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

    Declaration
    public Coordinate BottomRight { get; }
    Property Value
    Type Description
    Coordinate
    View Source

    TopLeft

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

    Declaration
    public Coordinate TopLeft { get; }
    Property Value
    Type Description
    Coordinate

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX