The OpenD Programming Language

nvgHSLA

Returns color value specified by hue, saturation and lightness and alpha. HSL values are all in range [0..1], alpha in range [0..255].

  1. NVGColor nvgHSLA(float h, float s, float l, ubyte a)
    nothrow @trusted @nogc
    nvgHSLA
    (
    float h
    ,
    float s
    ,
    float l
    ,
    ubyte a = 255
    )
  2. NVGColor nvgHSLA(float h, float s, float l, float a)

See Also

Meta