void setTranslation(double x, double y) { if (x == _translationX && y == _translationY) { return; } _translationX = x; _translationY = y; requestLayout(); }