()
| 19 | public final Paint textFill = new Paint().setColor(0xFF000000); |
| 20 | |
| 21 | public RunIteratorScene() { |
| 22 | lato36 = new Font(FontMgr.getDefault().makeFromFile(file("fonts/Lato-Regular.ttf")), 36); |
| 23 | fira36 = new Font(FontMgr.getDefault().makeFromFile(file("fonts/FiraCode-Regular.ttf")), 36); |
| 24 | inter36 = new Font(inter, 36); |
| 25 | inter11 = new Font(inter, 11); |
| 26 | inter11Metrics = inter11.getMetrics(); |
| 27 | geeza36 = new Font(FontMgr.getDefault().makeFromFile(file("fonts/Geeza Pro Regular.ttf")), 36); |
| 28 | |
| 29 | Typeface emoji = FontMgr.getDefault().matchFamilyStyleCharacter(null, FontStyle.NORMAL, null, "😀".codePointAt(0)); |
| 30 | emoji36 = emoji == null ? null : new Font(emoji, 36); |
| 31 | } |
| 32 | |
| 33 | @Override |
| 34 | public void draw(Canvas canvas, int width, int height, float dpi, int xpos, int ypos) { |
nothing calls this directly
no test coverage detected