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(const(char)[] htmlColorString)
    struct Canvas
    nothrow @nogc
    void
    fillStyle
    (
    const(char)[] htmlColorString
    )
  3. void fillStyle(CanvasGradient gradient)

Meta