Inheritance diagram for TextRenderer:
Public Member Functions | |
TextRenderer (TextRegion tr) | |
Points | getAscentInPoints () |
Points | getLineHeightInPoints () |
void | renderToG2D (Graphics2D g2d) |
This software is distributed under the BSD License.
Definition at line 29 of file TextRenderer.java.
TextRenderer | ( | TextRegion | tr | ) |
tr |
Definition at line 48 of file TextRenderer.java.
References TextRegion.getColor(), TextRegion.getFont(), TextRegion.getText(), and RegionRenderer.region.
Points getAscentInPoints | ( | ) |
Points getLineHeightInPoints | ( | ) |
void renderToG2D | ( | Graphics2D | g2d | ) |
g2d |
Reimplemented from RegionRenderer.
Definition at line 74 of file TextRenderer.java.
References TextRenderer.getAscentInPoints(), TextRegion.getFont(), Region.getHeight(), TextRenderer.getLineHeightInPoints(), TextRegion.getLinesOfText(), TextRegion.getMaxLines(), Units.getValue(), Units.getValueInPoints(), Region.getWidth(), TextRegion.getX(), TextRegion.getY(), TextRegion.isLineWrapped, and RegionRenderer.region.