public class DriverTextAsPathG2d extends Object implements UDriver<Graphics2D>
Constructor and Description |
---|
DriverTextAsPathG2d(EnsureVisible visible,
FontRenderContext fontRenderContext) |
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 DriverTextAsPathG2d(EnsureVisible visible, FontRenderContext fontRenderContext)
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 © 2017. All Rights Reserved.