apply
Applies the effect.
Deprecated
use apply instead.
Parameters
graphic
Graphics2D to use
node
the node to draw
x
x screen position
y
y screen position
open fun <T, P : Position2D<P>?> apply(g: Graphics2D, n: Node<T>, env: Environment<T, P>, wormhole: Wormhole2D<P>)
Content copied to clipboard
Applies the effect.
Parameters
<T>
concentration type
<P>
position type
g
graphics
n
node
env
environment
wormhole
the wormhole used to map environment's coords to screen coords