function (point) {
        var rect = this.getRect();
        var axis = this.getAxis();
        var orient = axis.orient;
        if (orient === 'horizontal') {
            return axis.contain(axis.toLocalCoord(point[0]))
            && (point[1] >= rect.y && point[1] <= (rect.y + rect.height));
        }
        else {
            return axis.contain(axis.toLocalCoord(point[1]))
            && (point[0] >= rect.y && point[0] <= (rect.y + rect.height));
        }
    }
function (point) {
        var rect = this.getRect();
        var axis = this.getAxis();
        var orient = axis.orient;
        if (orient === 'horizontal') {
            return axis.contain(axis.toLocalCoord(point[0]))
            && (point[1] >= rect.y && point[1] <= (rect.y + rect.height));
        }
        else {
            return axis.contain(axis.toLocalCoord(point[1]))
            && (point[0] >= rect.y && point[0] <= (rect.y + rect.height));
        }
    }
function ( point ) { var rect = this . getRect ( ) ; var axis = this . getAxis ( ) ; var orient = axis . orient ; if ( orient === 'horizontal' ) { return axis . contain ( axis . toLocalCoord ( point [ 0 ] ) ) && ( point [ 1 ] >= rect . y && point [ 1 ] <= ( rect . y + rect . height ) ) ; } else { return axis . contain ( axis . toLocalCoord ( point [ 1 ] ) ) && ( point [ 0 ] >= rect . y && point [ 0 ] <= ( rect . y + rect . height ) ) ; } }
If contain point.

@param  {Array.<number>} point
@return {boolean}
If contain point .
Returns true if the given point is inside the image