The OpenD Programming Language

RGB.this

Construct a color from RGB and optional alpha values.

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

Meta