F - the actual type of implementing classpublic interface Font<F extends Font<F>>
FontRenderer with an associated FontStyle.| Modifier and Type | Method and Description |
|---|---|
<T> FontStyle<T> |
createStyle(ImageRenderer<T,?> renderer)
Create an instance of a FontStyle with the default parameters for the given
image.
|
String |
getName()
Get the name of this font
|
<T,Q extends FontStyle<T>> |
getRenderer(ImageRenderer<T,?> renderer)
Get a font renderer suitable for rendering this font to the given image renderer.
|
<T,Q extends FontStyle<T>> FontRenderer<T,Q> getRenderer(ImageRenderer<T,?> renderer)
T - type of pixel.Q - type of FontStyle.renderer - the target image renderer.<T> FontStyle<T> createStyle(ImageRenderer<T,?> renderer)
T - type of pixel.renderer - the image renderer