Class DriverTextAsPathG2d

  • All Implemented Interfaces:
    UDriver<java.awt.Graphics2D>

    public class DriverTextAsPathG2d
    extends java.lang.Object
    implements UDriver<java.awt.Graphics2D>
    • Constructor Detail

      • DriverTextAsPathG2d

        public DriverTextAsPathG2d​(EnsureVisible visible,
                                   java.awt.font.FontRenderContext fontRenderContext)
    • Method Detail

      • draw

        public void draw​(UShape ushape,
                         double x,
                         double y,
                         ColorMapper mapper,
                         UParam param,
                         java.awt.Graphics2D g2d)
        Specified by:
        draw in interface UDriver<java.awt.Graphics2D>
      • calculateDimension

        public static java.awt.geom.Dimension2D calculateDimension​(StringBounder stringBounder,
                                                                   UFont font,
                                                                   java.lang.String text)