Canvas.color - newo2001/HTML5-Canvas-Wrapper GitHub Wiki

Datatype

Vec4

Description

The color to use for future drawing operations on the canvas.

Notes

  • The (x, y, z, w) components of the vector represent the (r, g, b, a) components of the color respectively.
  • Only use this field if you know what you're doing, otherwise use fill() instead.
⚠️ **GitHub.com Fallback** ⚠️