DrawShape

Deprecated

The entire Swing UI is deprecated and planned to be replaced with a modern UI.

Effect drawing nodes as shapes, optionally filtered and colored according to a molecule.

Constructors

Link copied to clipboard
constructor()
Builds a new DrawShape effect.

Types

Link copied to clipboard
enum Mode
Drawing modes for the shapes.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:Nullable
open val molecule: Molecule
Link copied to clipboard
open var molString: String
Link copied to clipboard
open var property: String
Link copied to clipboard
Link copied to clipboard
open var red: RangedInteger
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun <T, P : Position2D<P>?> apply(g: Graphics2D, n: Node<T>, environment: Environment<T, P>, wormhole: Wormhole2D<P>)
open fun apply(g: Graphics2D, n: Node<out Any>, x: Int, y: Int)
Applies the effect.
Link copied to clipboard
abstract fun equals(obj: Any): Boolean
Link copied to clipboard
Returns the color channel altered according to the molecule property.
Link copied to clipboard
Returns a color summarizing this effect.
Link copied to clipboard
Returns the incarnation to use.
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
open fun isMolFilter(): Boolean
Checks whether only nodes containing the molecule are drawn.
Link copied to clipboard
Checks whether colors are tuned using a molecule property.
Link copied to clipboard
open fun isReverse(): Boolean
Checks whether the effect of the property is reversed.
Link copied to clipboard
Checks whether the property value is written.
Link copied to clipboard
open fun setC(colorChannel: ColorChannel)
Sets the color channel altered according to the molecule property.
Link copied to clipboard
Sets the incarnation to use.
Link copied to clipboard
open fun setMolFilter(mol: Boolean)
Sets whether only nodes containing the molecule are drawn.
Link copied to clipboard
open fun setMolPropertyFilter(molpf: Boolean)
Sets whether colors are tuned using a molecule property.
Link copied to clipboard
open fun setReverse(r: Boolean)
Sets whether the effect of the property is reversed.
Link copied to clipboard
open fun setWritingPropertyValue(writingPropertyValue: Boolean)
Sets whether the property value is written.