custom.js 516 B

1234567891011121314
  1. /**
  2. * Add custom functional transformation for current vector.
  3. * @param params [callback]
  4. * @param x x of the the bounding box of coordinate
  5. * @param y y of the the bounding box of coordinate
  6. * @param width width of the the bounding box of coordinate
  7. * @param height height of the the bounding box of coordinate
  8. * @returns transformer
  9. */
  10. export var custom = function (params, x, y, width, height) {
  11. var callback = params[0];
  12. return callback(x, y, width, height);
  13. };
  14. //# sourceMappingURL=custom.js.map