| Constructor and Description |
|---|
TextPainter() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D g,
AbstractElement element,
int canvasWidth) |
List<TextElement> |
getBreakLineElements(TextElement textElement) |
int |
getFrontWidth(String text,
Font font) |
public void draw(Graphics2D g, AbstractElement element, int canvasWidth)
public List<TextElement> getBreakLineElements(TextElement textElement)
Copyright © 2022. All rights reserved.