Color.this

Construct a color with the given values. They should be in range 0 <= x <= 255, where 255 is maximum intensity and 0 is minimum intensity.

  1. this(int red, int green, int blue, int alpha)
    struct Color
    @safe nothrow pure @nogc
    this
    (
    int red
    ,
    int green
    ,
    int blue
    ,
    int alpha = 255
    )
  2. this(ubyte[] components)
  3. this(float r, float g, float b, float a)
  4. this(ColorF colorF)

Meta