SymbolicColor.mix
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( deprecated = true , deprecated_since = "3.8" , since = "3.0" ) ]
public SymbolicColor.mix (SymbolicColor color1, SymbolicColor color2, double factor)
[ Version ( deprecated = true , deprecated_since = "3.8" , since = "3.0" ) ]
public SymbolicColor.mix (SymbolicColor color1, SymbolicColor color2, double factor)
Warning: SymbolicColor.mix is deprecated since 3.8.
Creates a symbolic color defined as a mix of another two colors.
Note:
SymbolicColor is deprecated.
a mix factor of 0 would resolve to color1
, while a factor of 1 would resolve to color2
.
Parameters:
color1 |
color to mix |
color2 |
another color to mix |
factor |
mix factor |
Returns:
A newly created SymbolicColor |