setCenter method
dynamic
setCenter(
- dynamic clientX,
- dynamic clientY
- Set _center's x/y coordinates
- @param {Number} clientX
- @param {Number} clientY
- @param {Number} clientX
Implementation
setCenter(clientX, clientY) {
_center.x = clientX;
_center.y = clientY;
}