The OpenD Programming Language

Color.this

Constructs a color from floating-point rgba components, each between 0 and 1.0.

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

Meta

History

Added December 1, 2022 (dub v10.10)