ColorBlend class





context Contexts
read / write, inherited
currentFileInfo FileInfo
read / write, inherited
hashCode → int
The hash code for this object. [...]
read-only, inherited
index ↔ int
read / write, inherited
less TreeApi
read / write, inherited
name ↔ String
read / write, inherited
registry ↔ Map<String, FunctionRegistryItem>
Method registry: { 'externalName': {'name': internalName, 'listArguments': false} }
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


average(Color color1, Color color2) Color
Compute the average of two colors on a per-channel (RGB) basis. [...]
call(List<Node> args) → dynamic
Call the last valid name of method
colorBlend(Function fMode, Color color1, Color color2) Color
Mix two colors color1 and color2 according fMode function [...]
difference(Color color1, Color color2) Color
Subtracts the second color from the first color on a channel-by-channel basis. Negative values are inverted. Subtracting black results in no change; subtracting white results in color inversion. [...]
exclusion(Color color1, Color color2) Color
A similar effect to difference with lower contrast. [...]
fAverage(double cb, double cs) → double
fDifference(double cb, double cs) → double
fExclusion(double cb, double cs) → double
fHardlight(double cb, double cs) → double
fMultiply(double cb, double cs) → double
fNegation(double cb, double cs) → double
fOverlay(double cb, double cs) → double
fScreen(double cb, double cs) → double
fSoftlight(double cb, double cs) → double
hardlight(Color color1, Color color2) Color
The same as overlay but with the color roles reversed. [...]
init(Contexts context, int index, FileInfo currentFileInfo) → void
Config functions with the necessarry information for processing
isValid(String name) → bool
Check if name is a method name available
multiply(Color color1, Color color2) Color
Multiply two colors. Corresponding RGB channels from each of the two colors are multiplied together then divided by 255. The result is a darker color. [...]
negation(Color color1, Color color2) Color
Do the opposite effect to difference. The result is a brighter color. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
overlay(Color color1, Color color2) Color
Combines the effects of both multiply and screen. Conditionally make light channels lighter and dark channels darker. [...]
screen(Color color1, Color color2) Color
Do the opposite of multiply. The result is a brighter color. [...]
softlight(Color color1, Color color2) Color
Similar to overlay but avoids pure black resulting in pure black, and pure white resulting in pure white. [...]
toString() → String
Returns a string representation of this object.


operator ==(Object other) → bool
The equality operator. [...]