Package paintingcanvas.canvas
Class RenderLifecycle.AntiAliasingLifecycle
- java.lang.Object
-
- paintingcanvas.canvas.RenderLifecycle.AntiAliasingLifecycle
-
- All Implemented Interfaces:
RenderLifecycle
- Enclosing interface:
- RenderLifecycle
public static class RenderLifecycle.AntiAliasingLifecycle 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 AntiAliasingLifecycle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
preRender(java.awt.Graphics g)
Runs before everything else; theimage
inCanvasPanel
will reflect your changes.void
renderStart(java.awt.Graphics g)
Runs before everything else; theimage
inCanvasPanel
will not reflect your changes.-
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
-
preRender
public void preRender(java.awt.Graphics g)
Description copied from interface:RenderLifecycle
Runs before everything else; theimage
inCanvasPanel
will reflect your changes.- Specified by:
preRender
in interfaceRenderLifecycle
- Parameters:
g
- The graphics context
-
renderStart
public void renderStart(java.awt.Graphics g)
Description copied from interface:RenderLifecycle
Runs before everything else; theimage
inCanvasPanel
will not reflect your changes.- Specified by:
renderStart
in interfaceRenderLifecycle
- Parameters:
g
- The graphics context
-
-