CanvasGradient.addColorStop

Adds a new color stop, defined by an offset and a color, to a given canvas gradient.

  1. void addColorStop(float offset, RGBA color)
  2. void addColorStop(float offset, Color color)
    class CanvasGradient
    nothrow @nogc
    void
    addColorStop
    (
    float offset
    ,
    Color color
    )

Meta