private void setBackgroundGradient() {
			if (color1 == null || color2 == null)
				return;
			page.setFillMode(new FillMode.GradientFill(color1, color2, gradientStyle, gradientVariant));
			gradientStyle = 0;
			gradientVariant = 0;
		}