code: @Override
      public void render(final String word, BufferedImage image) {
          Graphics2D g = image.createGraphics();
  
          RenderingHints hints = new RenderingHints(
                  RenderingHints.KEY_ANTIALIASING,
                  RenderingHints.VALUE_ANTIALIAS_ON);
          hints.add(new RenderingHints(RenderingHints.KEY_RENDERING,
                  RenderingHints.VALUE_RENDER_QUALITY));
          g.setRenderingHints(hints);
  
          AttributedString as = new AttributedString(word);
          as.addAttribute(TextAttribute.FONT, getRandomFont());
  
          FontRenderContext frc = g.getFontRenderContext();
          AttributedCharacterIterator aci = as.getIterator();
  
          TextLayout tl = new TextLayout(aci, frc);
          int xBaseline = (int) Math.round(image.getWidth() * XOFFSET);
          int yBaseline = image.getHeight() - (int) Math.round(image.getHeight() * YOFFSET);
          Shape shape = tl.getOutline(AffineTransform.getTranslateInstance(xBaseline, yBaseline));
  
          g.setColor(getRandomColor());
          g.setStroke(new BasicStroke(_strokeWidth));
  
          g.draw(shape);
      }
docs: {@inheritDoc}