Class TextWithWaterLevel

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

public class TextWithWaterLevel extends TextOutlineRenderer
  • Field Details

    • waterColor

      private Color waterColor
    • bgColor

      private Color bgColor
    • percentageOfWater

      private int percentageOfWater
    • sea

      private Random sea
    • cachedPolygon

      private Polygon cachedPolygon
  • Constructor Details

    • TextWithWaterLevel

      public TextWithWaterLevel(String s, Font f)
  • Method Details

    • getFutureSize

      protected Point getFutureSize()
    • getBackground

      public BufferedImage getBackground()
    • getCachedPolygon

      public Polygon getCachedPolygon()
    • setCachedPolygon

      public void setCachedPolygon(Polygon cachedPolygon)
    • cutTo

      public Rectangle cutTo(Graphics2D g2, int x, int y)
      Overrides:
      cutTo in class TextOutlineRenderer
    • getWaterColor

      public Color getWaterColor()
      Returns:
      the waterColor
    • setWaterColor

      public void setWaterColor(Color waterColor)
      Parameters:
      waterColor - the waterColor to set
    • getBgColor

      public Color getBgColor()
      Returns:
      the bgColor
    • setBgColor

      public void setBgColor(Color bgColor)
      Parameters:
      bgColor - the bgColor to set
    • getPercentageOfWater

      public int getPercentageOfWater()
      Returns:
      the percentageOfWater
    • setPercentageOfWater

      public void setPercentageOfWater(int percentageOfWater)
      Parameters:
      percentageOfWater - the percentageOfWater to set