public class MathMLFont extends Object implements Font<MathMLFont>
Constructor and Description |
---|
MathMLFont() |
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.
|
public MathMLFont()
public <T,Q extends FontStyle<T>> FontRenderer<T,Q> getRenderer(ImageRenderer<T,?> renderer)
Font
getRenderer
in interface Font<MathMLFont>
T
- type of pixel.Q
- type of FontStyle
.renderer
- the target image renderer.public <T> FontStyle<T> createStyle(ImageRenderer<T,?> renderer)
Font
createStyle
in interface Font<MathMLFont>
T
- type of pixel.renderer
- the image renderer