public class DefaultWordRenderer extends Configurable implements WordRenderer
WordRenderer, creates an image with a
word rendered on it.| 构造器和说明 |
|---|
DefaultWordRenderer() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.awt.image.BufferedImage |
renderWord(java.lang.String word,
int width,
int height)
Renders a word to an image.
|
getConfig, setConfigpublic java.awt.image.BufferedImage renderWord(java.lang.String word,
int width,
int height)
renderWord 在接口中 WordRendererword - The word to be rendered.width - The width of the image to be created.height - The height of the image to be created.