Package tripleplay.util
Class EffectRenderer.Shadow
java.lang.Object
tripleplay.util.EffectRenderer
tripleplay.util.EffectRenderer.Shadow
- Enclosing class:
EffectRenderer
-
Nested Class Summary
Nested classes/interfaces inherited from class tripleplay.util.EffectRenderer
EffectRenderer.Gradient, EffectRenderer.PixelOutline, EffectRenderer.Shadow, EffectRenderer.VectorOutline
-
Field Summary
Fields inherited from class tripleplay.util.EffectRenderer
NONE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
adjustHeight
(float height) float
adjustWidth
(float width) boolean
int
hashCode()
void
render
(Canvas canvas, TextLayout text, int textColor, boolean underlined, float x, float y) Methods inherited from class tripleplay.util.EffectRenderer
offsetX, offsetY
-
Field Details
-
shadowColor
public final int shadowColor -
shadowX
public final float shadowX -
shadowY
public final float shadowY
-
-
Constructor Details
-
Shadow
public Shadow(int shadowColor, float shadowX, float shadowY)
-
-
Method Details
-
adjustWidth
public float adjustWidth(float width) - Overrides:
adjustWidth
in classEffectRenderer
-
adjustHeight
public float adjustHeight(float height) - Overrides:
adjustHeight
in classEffectRenderer
-
render
public void render(Canvas canvas, TextLayout text, int textColor, boolean underlined, float x, float y) - Specified by:
render
in classEffectRenderer
-
equals
-
hashCode
public int hashCode()
-