public abstract class FontLoader extends Object
Constructor and Description |
---|
FontLoader() |
Modifier and Type | Method and Description |
---|---|
abstract float |
computeStringWidth(String string,
Font font) |
abstract Font |
font(String family,
FontWeight weight,
FontPosture posture,
float size) |
abstract List<String> |
getFamilies() |
abstract FontMetrics |
getFontMetrics(Font font) |
abstract List<String> |
getFontNames() |
abstract List<String> |
getFontNames(String family) |
abstract float |
getSystemFontSize() |
abstract void |
loadFont(Font font) |
abstract Font |
loadFont(InputStream in,
double size) |
abstract Font |
loadFont(String path,
double size) |
public abstract void loadFont(Font font)
public abstract Font font(String family, FontWeight weight, FontPosture posture, float size)
public abstract Font loadFont(InputStream in, double size)
public abstract FontMetrics getFontMetrics(Font font)
public abstract float getSystemFontSize()
Copyright © 2020. All rights reserved.