Class StaticShadowLayer
java.lang.Object
de.gurkenlabs.litiengine.graphics.ColorLayer
de.gurkenlabs.litiengine.graphics.StaticShadowLayer
- All Implemented Interfaces:
IRenderable
public class StaticShadowLayer
extends ColorLayer
Constructor Summary
Constructors Constructor Description StaticShadowLayer(Environment environment, java.awt.Color color)
Instantiates a newStaticShadowLayer
instance.Method Summary
Modifier and Type Method Description protected void
clearSection(java.awt.Graphics2D g, java.awt.geom.Rectangle2D section)
protected void
renderSection(java.awt.Graphics2D g, java.awt.geom.Rectangle2D section)
Methods inherited from class de.gurkenlabs.litiengine.graphics.ColorLayer
getColor, getEnvironment, render, setAlpha, setColor, updateSection
Constructor Details
StaticShadowLayer
Instantiates a newStaticShadowLayer
instance.- Parameters:
environment
- The environment to which this instance is assigned.color
- The color of this instance.
Method Details
renderSection
protected void renderSection(java.awt.Graphics2D g, java.awt.geom.Rectangle2D section)- Specified by:
renderSection
in classColorLayer
clearSection
protected void clearSection(java.awt.Graphics2D g, java.awt.geom.Rectangle2D section)- Specified by:
clearSection
in classColorLayer