Class TextOutlineRenderer

java.lang.Object
net.adoptopenjdk.icedteaweb.client.parts.splashscreen.impls.defaultsplashscreen2012.TextOutlineRenderer
Direct Known Subclasses:
TextWithWaterLevel

public class TextOutlineRenderer extends Object
  • Field Details

    • img

      private Image img
    • font

      private Font font
    • outlineColor

      private Color outlineColor
    • text

      private final String text
  • Constructor Details

    • TextOutlineRenderer

      public TextOutlineRenderer(Font f, String s)
    • TextOutlineRenderer

      public TextOutlineRenderer(Font f, String s, Color textOutline)
  • Method Details

    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • cutTo

      public Rectangle cutTo(Graphics2D g2, int x, int y)
    • getImg

      public Image getImg()
      Returns:
      the img
    • setImg

      public void setImg(Image img)
      Parameters:
      img - the img to set
    • getFont

      public Font getFont()
      Returns:
      the font
    • setFont

      public void setFont(Font font)
      Parameters:
      font - the font to set
    • getTextOutline

      public Color getTextOutline()
      Returns:
      the color of outline
    • setTextOutline

      public void setTextOutline(Color textOutline)
      Parameters:
      textOutline - the color of outline
    • getText

      public String getText()
      Returns:
      the text