Color.this

Color constructor for four components, the latter which is optional.

  1. this(T red, T green, T blue, T alpha)
    struct Color(T)
    @safe nothrow pure
    this
    (
    T red
    ,,,
    T alpha = Max
    )
    if (
    isIntegral!T ||
    isFloatingPoint!T
    )
  2. this(R value)

Meta