Colorfy.Colorfier
— TypeColorfier(values; [alphas, colorscheme, colorrange])
Maps each value in values
to a color. Colors can be obtained using the Colorfy.colors
function.
Options
alphas
- Scalar or a vector of color alphas (default toColorfy.defaultalphas(values)
);colorscheme
- Scheme name or aColorSchemes.ColorScheme
object (default toColorfy.defaultcolorscheme(values)
);colorrange
- Tuple with minimum and maximum color values or a symbol that can be passed to therangescale
argument of theColorSchemes.get
function (default toColorfy.defaultcolorrange(values)
);
Colorfy.alphas
— MethodColorfy.alphas(colorfier)
Color alphas of the colorfier
.
Colorfy.colorfy
— Methodcolorfy(values; kwargs...)
Shortcut to Colorfy.colors(Colorfier(values; kwargs...))
for convenience.
See also Colorfier
, Colorfy.colors
.
Colorfy.colorrange
— MethodColorfy.colorrange(colorfier)
Color range of the colorfier
.
Colorfy.colors
— MethodColorfy.colors(colorfier)
Colors mapped from the colorfier
.
Colorfy.colorscheme
— MethodColorfy.colorscheme(colorfier)
Color scheme of the colorfier
.
Colorfy.defaultalphas
— MethodColorfy.defaultalphas(values)
Default color alphas for values
.
Colorfy.defaultcolorrange
— MethodColorfy.defaultcolorrange(values)
Default color range for values
.
Colorfy.defaultcolorscheme
— MethodColorfy.defaultcolorscheme(values)
Default color scheme for values
.
Colorfy.getcolors
— MethodColorfy.getcolors(colorfier, values)
Function intended for developers that returns the mapped colors from the colorfier
without the alphas. Alphas are applied in the Colorfy.colors
function.
Colorfy.update
— MethodColorfy.update(colorfier; [values, alphas, colorscheme, colorrange])
Constructs a new colorfier with colorfier
fields and updated fields passed as keyword arguments.
Colorfy.values
— MethodColorfy.values(colorfier)
Values of the colorfier
.