Interface MapShader.ShadedPiece

All Known Implementing Classes:
AreaOfEffect
Enclosing class:
MapShader

public static interface MapShader.ShadedPiece
Pieces that contribute to shading must implement this interface
  • Method Summary

    Modifier and Type Method Description
    Area getArea​(MapShader shader)
    Returns the Area to add to (or subtract from) the area drawn by the MapShader's.
  • Method Details

    • getArea

      Area getArea​(MapShader shader)
      Returns the Area to add to (or subtract from) the area drawn by the MapShader's. Area is assumed to be at zoom factor 1.0
      Parameters:
      shader - Map Shader
      Returns:
      the Area contributed by the piece