(coord, bounds)
| 380 | } |
| 381 | |
| 382 | _contain(coord, bounds) { |
| 383 | return (coord[0] > bounds[0] || Math.abs(coord[0] - bounds[0]) < 0.000001 ) && (coord[0] < bounds[2] || Math.abs(coord[0] - bounds[2]) < 0.000001 ) && (coord[1] > bounds[1] || Math.abs(coord[1] - bounds[1]) < 0.000001) && (coord[1] < bounds[3] || Math.abs(coord[1] - bounds[3]) < 0.000001); |
| 384 | } |
| 385 | |
| 386 | /** |
| 387 | * @function VideoLayer.prototype.moveLayer |