Color.blend

Alpha-blend a color with an alpha channel on top of one without.

  1. typeof(this) blend(typeof(this) c0, typeof(this) c1)
  2. typeof(this) blend(typeof(this) c0, C c1)
    struct Color(FieldTuple...)
    static
    typeof(this)
    blend
    (
    C
    )
    (
    typeof(this) c0
    ,
    C c1
    )
    if (
    !is(typeof(a)) &&
    is(typeof(c1.a))
    )

Meta