DrawOnce

abstract class DrawOnce : Effect

Effects are normally applied for each node, this is a base class for effects that do not need to be redrawn for each node. In other words, this effect will be applied for a single node instead of redrawing for all of them.

Functions

Link copied to clipboard
open fun <T, P : Position2D<P>?> apply(graphics: Graphics2D, node: Node<T>, environment: Environment<T, P>, wormhole: Wormhole2D<P>)
open fun apply(graphic: Graphics2D, node: Node<out Any>, x: Int, y: Int)
Applies the effect.
Link copied to clipboard
abstract fun equals(obj: Any): Boolean
Link copied to clipboard
abstract fun getColorSummary(): Color
Link copied to clipboard
abstract fun hashCode(): Int

Properties

Link copied to clipboard
private open val markerNodeID: Integer

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard