helper setRenderingHints: set antialiasing on
This commit is contained in:
parent
23a6a43d2d
commit
6480da09ff
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue