Add Font{Cache,Loader} interfaces
This commit is contained in:
parent
6ce6f8b2ce
commit
e71e6f9e74
2 changed files with 18 additions and 0 deletions
9
src/main/java/net/kemitix/fontface/FontCache.java
Normal file
9
src/main/java/net/kemitix/fontface/FontCache.java
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
package net.kemitix.fontface;
|
||||||
|
|
||||||
|
import net.kemitix.fontface.FontFace;
|
||||||
|
|
||||||
|
import java.awt.*;
|
||||||
|
|
||||||
|
public interface FontCache {
|
||||||
|
Font loadFont(FontFace fontFace);
|
||||||
|
}
|
9
src/main/java/net/kemitix/fontface/FontLoader.java
Normal file
9
src/main/java/net/kemitix/fontface/FontLoader.java
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
package net.kemitix.fontface;
|
||||||
|
|
||||||
|
import net.kemitix.fontface.FontFace;
|
||||||
|
|
||||||
|
import java.awt.*;
|
||||||
|
|
||||||
|
public interface FontLoader {
|
||||||
|
Font loadFont(FontFace fontFace);
|
||||||
|
}
|
Loading…
Reference in a new issue