Function clampToHandler

  • Function that is part of the "pan to" handler pipeline. It clamps the pan destination within the boundaries of the view port. You can use this function standalone to clamp the pan destination within the boundaries of the view port. But it is recommended to use this kind of function as part of the pan handler pipeline. (to include this function in your own custom pan handler pipeline)

    Parameters

    Returns Point