SymbolicColor.shade


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( deprecated = true , deprecated_since = "3.8" , since = "3.0" ) ]
public SymbolicColor.shade (SymbolicColor color, double factor)

Warning: SymbolicColor.shade is deprecated since 3.8.

Creates a symbolic color defined as a shade of another color.

Note:

SymbolicColor is deprecated.

A factor > 1.0 would resolve to a brighter color, while < 1.0 would resolve to a darker color.

Parameters:

color

another SymbolicColor

factor

shading factor to apply to color

Returns:

A newly created SymbolicColor