Add Font{Cache,Loader} interfaces

This commit is contained in:
Paul Campbell 2020-09-18 18:24:39 +01:00
parent 6ce6f8b2ce
commit e71e6f9e74
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,9 @@
package net.kemitix.fontface;
import net.kemitix.fontface.FontFace;
import java.awt.*;
public interface FontCache {
Font loadFont(FontFace fontFace);
}

View file

@ -0,0 +1,9 @@
package net.kemitix.fontface;
import net.kemitix.fontface.FontFace;
import java.awt.*;
public interface FontLoader {
Font loadFont(FontFace fontFace);
}