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 Details

    • StaticShadowLayer

      public StaticShadowLayer(Environment environment, Color color)
      Instantiates a new StaticShadowLayer instance.
      Parameters:
      environment - The environment to which this instance is assigned.
      color - The color of this instance.
  • Method Details

    • renderSection

      protected void renderSection(Graphics2D g, Rectangle2D section)
      Description copied from class: ColorLayer
      Renders a specific section of the layer.
      Specified by:
      renderSection in class ColorLayer
      Parameters:
      g - The graphics context to use for rendering.
      section - The section of the layer to render.
    • clearSection

      protected void clearSection(Graphics2D g, Rectangle2D section)
      Description copied from class: ColorLayer
      Clears a specific section of the layer.
      Specified by:
      clearSection in class ColorLayer
      Parameters:
      g - The graphics context to use for clearing.
      section - The section of the layer to clear.