ggplotd.colour

Deal with colour related struct/functions, such as ColourSpaces etc.

Public Imports

ggplotd.colourspace
public import ggplotd.colourspace : RGBA;

Members

Aliases

ColourGradientFunction
alias ColourGradientFunction = RGBA delegate(double value, double from, double till)

Functions

colourGradient
ColourGradientFunction colourGradient(ColourGradient!T cg, bool absolute)

Function returning a colourgradient function based on a specified ColourGradient

colourGradient
ColourGradientFunction colourGradient(string name)

Function returning a named colourgradient.

namedColour
auto namedColour(string name)

Convert a name (string) into a Nullable!colour.

Structs

ColourGradient
struct ColourGradient(C)
Undocumented in source.

Meta