public void scale(float xscale, float yscale) { backgroundRect.w = backgroundRect.w * xscale; backgroundRect.h = backgroundRect.h * yscale; setTextAreaRect(); setScrollDims(); }