RGB.this

Construct a color from RGB and optional alpha values.

  1. this(ComponentType r, ComponentType g, ComponentType b, ComponentType a)
    struct RGB(string components_, ComponentType_, bool linear_ = false, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
    if (
    isNumeric!ComponentType_
    )
  2. this(ComponentType l, ComponentType a)
  3. this(const(C)[] hex)

Meta