ColorBlend class

Inheritance

Constructors

ColorBlend()

Properties

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

Methods

average(Color color1 Color color2) Color
Compute the average of two colors on a per-channel (RGB) basis. [...]
colorBlend(Function fMode, Color color1 Color color2) Color
Mix two colors color1 and color2 according fMode function [...]
@defineMethodSkip
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
@defineMethodSkip
fDifference(double cb double cs) → double
@defineMethodSkip
fExclusion(double cb double cs) → double
@defineMethodSkip
fHardlight(double cb double cs) → double
@defineMethodSkip
fMultiply(double cb double cs) → double
@defineMethodSkip
fNegation(double cb double cs) → double
@defineMethodSkip
fOverlay(double cb double cs) → double
@defineMethodSkip
fScreen(double cb double cs) → double
@defineMethodSkip
fSoftlight(double cb double cs) → double
@defineMethodSkip
hardlight(Color color1 Color color2) Color
The same as overlay but with the color roles reversed. [...]
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. [...]
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. [...]
call(List<Node> args) → dynamic
Call the last valid name of method
inherited
init(Contexts context, int index, FileInfo currentFileInfo) → void
Config functions with the necessarry information for processing
inherited
isValid(String name) → bool
Check if name is a method name available
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited