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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncutTo(Graphics2D g2, int x, int y) protected PointintvoidsetBgColor(Color bgColor) voidsetCachedPolygon(Polygon cachedPolygon) voidsetPercentageOfWater(int percentageOfWater) voidsetWaterColor(Color waterColor) Methods inherited from class TextOutlineRenderer
getFont, getHeight, getImg, getText, getTextOutline, getWidth, setFont, setImg, setTextOutline
-
Field Details
-
waterColor
-
bgColor
-
percentageOfWater
private int percentageOfWater -
sea
-
cachedPolygon
-
-
Constructor Details
-
TextWithWaterLevel
-
-
Method Details
-
getFutureSize
-
getBackground
-
getCachedPolygon
-
setCachedPolygon
-
cutTo
- Overrides:
cutToin classTextOutlineRenderer
-
getWaterColor
- Returns:
- the waterColor
-
setWaterColor
- Parameters:
waterColor- the waterColor to set
-
getBgColor
- Returns:
- the bgColor
-
setBgColor
- 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
-