public void setTranslation(int x, int y) { this.transX = x; this.transY = y; layer.setTranslation(x, y); }