Package paintingcanvas.canvas
Class RenderLifecycle.CenteringLifecycle
- java.lang.Object
-
- paintingcanvas.canvas.RenderLifecycle.CenteringLifecycle
-
- All Implemented Interfaces:
RenderLifecycle
- Enclosing interface:
- RenderLifecycle
public static class RenderLifecycle.CenteringLifecycle extends java.lang.Object implements RenderLifecycle
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface paintingcanvas.canvas.RenderLifecycle
RenderLifecycle.AntiAliasingLifecycle, RenderLifecycle.CenteringLifecycle, RenderLifecycle.ResizeListener
-
-
Constructor Summary
Constructors Constructor Description CenteringLifecycle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onResize(CanvasPanel panel, java.awt.event.ComponentEvent e)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface paintingcanvas.canvas.RenderLifecycle
Modifier and Type Method Description default void
onResize(CanvasPanel canvas, java.awt.event.ComponentEvent e)
default void
postRender(java.awt.Graphics g)
Runs after everything else; theimage
inCanvasPanel
will reflect your changes.default void
preRender(java.awt.Graphics g)
Runs before everything else; theimage
inCanvasPanel
will reflect your changes.default void
renderEnd(java.awt.Graphics g)
Runs after everything else; theimage
inCanvasPanel
will not reflect your changes.default void
renderStart(java.awt.Graphics g)
Runs before everything else; theimage
inCanvasPanel
will not reflect your changes.
-
-
-
-
Method Detail
-
onResize
public void onResize(CanvasPanel panel, java.awt.event.ComponentEvent e)
- Specified by:
onResize
in interfaceRenderLifecycle
-
-