public class DriverTextG2d extends Object implements UDriver<Graphics2D>
Constructor and Description |
---|
DriverTextG2d(EnsureVisible visible) |
Modifier and Type | Method and Description |
---|---|
static Dimension2D |
calculateDimension(StringBounder stringBounder,
UFont font,
String text) |
void |
draw(UShape ushape,
double x,
double y,
ColorMapper mapper,
UParam param,
Graphics2D g2d) |
public DriverTextG2d(EnsureVisible visible)
public void draw(UShape ushape, double x, double y, ColorMapper mapper, UParam param, Graphics2D g2d)
draw
in interface UDriver<Graphics2D>
public static Dimension2D calculateDimension(StringBounder stringBounder, UFont font, String text)
Copyright © 2015. All Rights Reserved.