public class GlyphMaker
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
getImage(Cell cell,
int cellWidth,
int cellHeight)
Get a glyph image.
|
java.awt.image.BufferedImage |
getImage(Cell cell,
int cellWidth,
int cellHeight,
boolean blinkVisible)
Get a glyph image.
|
static GlyphMaker |
getInstance(int fontSize)
Obtain the GlyphMaker instance for a particular font size.
|
public static GlyphMaker getInstance(int fontSize)
fontSize
- the size of these fonts in pixelspublic java.awt.image.BufferedImage getImage(Cell cell, int cellWidth, int cellHeight)
cell
- the character to drawcellWidth
- the width of the text cell to draw intocellHeight
- the height of the text cell to draw intopublic java.awt.image.BufferedImage getImage(Cell cell, int cellWidth, int cellHeight, boolean blinkVisible)
cell
- the character to drawcellWidth
- the width of the text cell to draw intocellHeight
- the height of the text cell to draw intoblinkVisible
- if true, the cell is visible if it is blinkingCopyright © 2019 Kevin Lamonte. Licensed MIT.