The OpenD Programming Language

ggplotd.colour

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

Members

Aliases

ColourGradientFunction
alias ColourGradientFunction = RGBA delegate(double value, double from, double till)
RGBA (from ggplotd.colourspace)
alias RGBA = crgb.RGB!("rgba", double) via public import ggplotd.colourspace : RGBA;

RGBA colourspace

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