Biomol Gradient Layer
open fun BiomolGradientLayer(directionX: Double, directionY: Double, unitVariation: Double, offset: Double)
Content copied to clipboard
Initialize a gradient layer which grows in concentration proportionally in space.
Parameters
direction X
x coordinate of the vector representing the direction in which the gradient grows
direction Y
y coordinate of the vector representing the direction in which the gradient grows
unit Variation
unit variation of the gradient
offset
minimum value of concentration reached by this spatial distribution
open fun BiomolGradientLayer(direction: P, unitVariation: Double, offset: Double)
Content copied to clipboard
Initialize a gradient layer which grows in concentration proportionally in space.
Parameters
direction
the Position2D representing the direction in which the gradient grows (here the positions is considered as a vector)
unit Variation
unit variation of the gradient
offset
minimum value of concentration reached by this spatial distribution