import { dataService } from "../Service/DataService"; import { mathUtil } from "../Util/MathUtil"; export default class MoveText { constructor() {} moveFullText(position, textId) { let text = dataService.getText(textId); if (text) { mathUtil.clonePoint(text.center, position); } } } const moveText = new MoveText(); export { moveText };