setNeedsRefresh(true);
    public void setDensity(float density) {        if(density < 0) {            density = 0;        }        if(density > 1) {            density = 1;        }        this.density = density;    }