Canvas.fillStyle

Set the fill style. The fill style can be a plain color fill, a CanvasGradient, or an HTML-compatible text string.

  1. void fillStyle(RGBA color)
  2. void fillStyle(Color col)
  3. void fillStyle(const(char)[] htmlColorString)
    struct Canvas
    nothrow @nogc
    void
    fillStyle
    (
    const(char)[] htmlColorString
    )
  4. void fillStyle(CanvasGradient gradient)

Meta