public static class UIUtil.TextPainter
extends java.lang.Object
Constructor and Description |
---|
TextPainter() |
Modifier and Type | Method and Description |
---|---|
UIUtil.TextPainter |
appendLine(java.lang.String text) |
void |
draw(java.awt.Graphics g,
PairFunction<? super java.lang.Integer,? super java.lang.Integer,? extends Couple<java.lang.Integer>> _position)
_position(block width, block height) => (x, y) of the block
|
UIUtil.TextPainter |
withColor(java.awt.Color color) |
UIUtil.TextPainter |
withFont(java.awt.Font font) |
UIUtil.TextPainter |
withLineSpacing(float lineSpacing) |
UIUtil.TextPainter |
withShadow(boolean drawShadow,
java.awt.Color shadowColor) |
public UIUtil.TextPainter withShadow(boolean drawShadow, java.awt.Color shadowColor)
public UIUtil.TextPainter withLineSpacing(float lineSpacing)
public UIUtil.TextPainter withColor(java.awt.Color color)
public UIUtil.TextPainter withFont(java.awt.Font font)
public UIUtil.TextPainter appendLine(java.lang.String text)
public void draw(java.awt.Graphics g, PairFunction<? super java.lang.Integer,? super java.lang.Integer,? extends Couple<java.lang.Integer>> _position)