Class WindowShadowRenderer

  • All Implemented Interfaces:
    WindowPostRenderer

    public class WindowShadowRenderer
    extends java.lang.Object
    implements WindowPostRenderer
    This WindowPostRenderer implementation draws a shadow under the window
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void postRender​(ThemedTextGraphics textGraphics, TextGUI textGUI, Window window)
      Called by DefaultWindowTextGUI immediately after a Window has been rendered, to let you do post-processing.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WindowShadowRenderer

        public WindowShadowRenderer()
    • Method Detail

      • postRender

        public void postRender​(ThemedTextGraphics textGraphics,
                               TextGUI textGUI,
                               Window window)
        Description copied from interface: WindowPostRenderer
        Called by DefaultWindowTextGUI immediately after a Window has been rendered, to let you do post-processing. You will have a TextGraphics object that can draw to the whole screen, so you need to inspect the window's position and decorated size to figure out where the bounds are
        Specified by:
        postRender in interface WindowPostRenderer
        Parameters:
        textGraphics - Graphics object you can use to draw with
        textGUI - TextGUI that we are in
        window - Window that was just rendered