src/data/GridIndex.js
function(x, y) {
        var array = this.getAllData(x, y);
        return array && array.length ? array[0] : undefined;
    }
function(x, y) {
        var array = this.getAllData(x, y);
        return array && array.length ? array[0] : undefined;
    }
function ( x , y ) { var array = this . getAllData ( x , y ) ; return array && array . length ? array [ 0 ] : undefined ; }
Returns data associated with the specified position on the canvas.
Returns data associated with the specified position on the canvas .