Class WindowShadowRenderer
java.lang.Object
com.googlecode.lanterna.gui2.WindowShadowRenderer
- All Implemented Interfaces:
WindowPostRenderer
This WindowPostRenderer implementation draws a shadow under the window
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostRender(ThemedTextGraphics textGraphics, TextGUI textGUI, Window window) Called by DefaultWindowTextGUI immediately after a Window has been rendered, to let you do post-processing.
-
Constructor Details
-
WindowShadowRenderer
public WindowShadowRenderer()
-
-
Method Details
-
postRender
Description copied from interface:WindowPostRendererCalled 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:
postRenderin interfaceWindowPostRenderer- Parameters:
textGraphics- Graphics object you can use to draw withtextGUI- TextGUI that we are inwindow- Window that was just rendered
-