DrawLayersGradient

Draw layers values as background in the gui. The higher is the layer concentration in a point, the higher is the alpha channel for the background in that point. The user must specify: - the number of samples for each side, basically more samples correspond to a smoother and more detailed background - the min layer value - the max layer value The purpose and structure of this class is similar to DrawLayersIsolines.

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Nullable
@get:Nullable
open val markerNodeID: Integer
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var molString: String
Link copied to clipboard
open var red: RangedInteger
Link copied to clipboard

Functions

Link copied to clipboard
open fun apply(graphic: Graphics2D, node: Node<out Any>, x: Int, y: Int)
open fun <T, P : Position2D<P>?> apply(g: Graphics2D, n: Node<T>, environment: Environment<T, P>, wormhole: Wormhole2D<P>)
open fun <T, P : Position2D<P>?> apply(graphics: Graphics2D, node: Node<T>, environment: Environment<T, P>, wormhole: Wormhole2D<P>)
Applies the effect.
Link copied to clipboard
open fun <T, P : Position2D<P>?> drawFunction(function: (in P) -> out Number, environment: Environment<T, P>, graphics: Graphics2D, wormhole: Wormhole2D<P>)
Link copied to clipboard
abstract fun <T, P : Position2D<P>?> drawLayers(toDraw: Collection<Layer<T, P>>, environment: Environment<T, P>, graphics: Graphics2D, wormhole: Wormhole2D<P>)
Effectively draw the layers.
open fun <T, P : Position2D<P>?> drawLayers(toDraw: Collection<Layer<T, P>>, environment: Environment<T, P>, graphics: Graphics2D, wormhole: Wormhole2D<P>)
Link copied to clipboard
abstract fun equals(obj: Any): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open fun map(x: Double, xmin: Double, xmax: Double, ymin: Double, ymax: Double): Double
Map x from [xmin, xmax] to [ymin, ymax].
Link copied to clipboard
open fun setLayerFilter(layerFilter: Boolean)