public void setCenterY(float centerY) { if ((points == null) || (center == null)) { checkPoints(); } float yDiff = centerY - getCenterY(); setY(y + yDiff); }
public void translate(int deltaX, int deltaY) { setX(x + deltaX); setY(y + deltaY); }
public void setLocation(float x, float y) { setX(x); setY(y); }
public void setLocation(Vector2f loc) { setX(loc.x); setY(loc.y); }