void (EffectPainter2D painter, int width, int height) { if (painter == EffectPainter2D.STRIKE_THROUGH) height += 10; // default font size testPainter(painter, ImageUtil.createImage(width, height, BufferedImage.TYPE_INT_ARGB)); }