Verwendung eigener Schriftarten

This commit is contained in:
ngb
2022-07-01 13:00:53 +02:00
parent 57c396c2e4
commit 0f0b03d8fe
5 changed files with 27 additions and 8 deletions

View File

@@ -19,6 +19,7 @@ public class Display extends ShapeGroup {
text.setFontColor(255);
text.setFontsize(20);
text.setAnchor(NORTHWEST);
text.setFont("fonts/FredokaOne-Regular.ttf");
add(background, text);
}