drawTextRawShadowed(text, font, color, shadowColor, region, HorizontalAlign.LEFT, VerticalAlign.TOP);
}
@Override
public void drawTextRawShadowed(String text, Font font, Color color, Color shadowColor, Rect2i region, HorizontalAlign hAlign, VerticalAlign vAlign) {
Rect2i absoluteRegion = relativeToAbsolute(region);
Rect2i cropRegion = absoluteRegion.intersect(state.cropRegion);
if (!cropRegion.isEmpty()) {
if (state.drawOnTop) {
drawOnTopOperations.add(new DrawTextOperation(text, font, hAlign, vAlign, absoluteRegion, cropRegion, color, shadowColor, state.getAlpha()));
} else {
renderer.drawText(text, font, hAlign, vAlign, absoluteRegion, color, shadowColor, state.getAlpha());
}