fix(renderer): increase pattern cache spacing from 40 to 100 for improved rendering quality

This commit is contained in:
extio-de
2025-12-31 12:19:37 +01:00
parent 10682caa8c
commit 5a1807d331

View File

@@ -117,7 +117,7 @@ public class MetroPatternRenderer implements PatternRenderer {
private java.awt.image.BufferedImage getPatternCache() { private java.awt.image.BufferedImage getPatternCache() {
if (this.patternCache == null) { if (this.patternCache == null) {
final int spacing = 40; final int spacing = 100;
this.patternCache = new BufferedImage(spacing, spacing, java.awt.image.BufferedImage.TYPE_INT_ARGB); this.patternCache = new BufferedImage(spacing, spacing, java.awt.image.BufferedImage.TYPE_INT_ARGB);
final Graphics2D g2d = this.patternCache.createGraphics(); final Graphics2D g2d = this.patternCache.createGraphics();