public BufferedImage createRowImage(String font, String text, String state, boolean hard, Color bgColor, int rowHeight, Integer fitWidth, boolean isFlapping)
	{
		RowParameters rowParameters = calcRowParameters(new Font(font, Font.PLAIN, rowHeight), text, rowHeight, fitWidth);

		BufferedImage output = new BufferedImage(rowParameters.getTextWidth(), rowHeight, BufferedImage.TYPE_INT_RGB);

		drawRow(output.createGraphics(), rowParameters.getTextWidth(), 0, rowParameters, rowHeight, text, 0, state, hard, bgColor, 1.0f, null, isFlapping);

		return output;
	}