Color.this

Constructs a colour using rgb(a) values (in range 0..255). By default alpha is 0% transparent (255).

  1. this(ubyte r, ubyte g, ubyte b, ubyte a)
    class Color
    pure nothrow @safe @nogc
    this
    (
    ubyte r
    ,
    ubyte g
    ,
    ubyte b
    ,
    ubyte a = 0xFF
    )
  2. this(Color[] colors)

Meta