nvgRGBA

Returns a color value from red, green, blue and alpha values.

  1. NVGColor nvgRGBA(const(char)[] srgb)
  2. NVGColor nvgRGBA(int r, int g, int b, int a)
    nothrow @trusted @nogc
    nvgRGBA
    (
    int r
    ,
    int g
    ,
    int b
    ,
    int a = 255
    )

See Also

Meta