SymbolicColor.alpha


Description:

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

Warning: SymbolicColor.alpha is deprecated since 3.8.

Creates a symbolic color by modifying the relative alpha value of color.

Note:

SymbolicColor is deprecated.

A factor < 1.0 would resolve to a more transparent color, while > 1.0 would resolve to a more opaque color.

Parameters:

color

another SymbolicColor

factor

factor to apply to color alpha

Returns:

A newly created SymbolicColor