Module net.sourceforge.plantuml
Class DriverTextAsPathG2d
- java.lang.Object
-
- net.sourceforge.plantuml.ugraphic.g2d.DriverTextAsPathG2d
-
- All Implemented Interfaces:
UDriver<Graphics2D>
public class DriverTextAsPathG2d extends Object implements UDriver<Graphics2D>
-
-
Constructor Summary
Constructors Constructor Description DriverTextAsPathG2d(EnsureVisible visible, FontRenderContext fontRenderContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Dimension2D
calculateDimension(StringBounder stringBounder, UFont font, String text)
void
draw(UShape ushape, double x, double y, ColorMapper mapper, UParam param, Graphics2D g2d)
-
-
-
Constructor Detail
-
DriverTextAsPathG2d
public DriverTextAsPathG2d(EnsureVisible visible, FontRenderContext fontRenderContext)
-
-
Method Detail
-
draw
public void draw(UShape ushape, double x, double y, ColorMapper mapper, UParam param, Graphics2D g2d)
- Specified by:
draw
in interfaceUDriver<Graphics2D>
-
calculateDimension
public static Dimension2D calculateDimension(StringBounder stringBounder, UFont font, String text)
-
-