RGB.this

Construct a color from a luminance and optional alpha value.

  1. this(const(C)[] str)
  2. this(ComponentType r, ComponentType g, ComponentType b, ComponentType a)
  3. this(ComponentType l, ComponentType a)
    struct RGB(string components_, ComponentType_, bool linear_ = false, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
    @safe pure nothrow @nogc
    this
    if (
    isNumeric!ComponentType_
    )
  4. this(ComponentType.IntType r, ComponentType.IntType g, ComponentType.IntType b, ComponentType.IntType a)
  5. this(ComponentType.IntType l, ComponentType.IntType a)

Meta