helper setRenderingHints: set antialiasing on

This commit is contained in:
hrj 2022-04-03 23:01:26 +05:30
parent 23a6a43d2d
commit 6480da09ff
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ public class HelperFunctions {
}
public static void setRenderingHints(Graphics2D g2d) {
g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
g2d.setRenderingHint(
RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
g2d.setRenderingHint(