Set the fill style to be used by the Text object.
This can be any valid CanvasRenderingContext2D fillStyle value, such as a color (in hex, rgb, rgba, hsl or named values), a gradient or a pattern.
See the MDN fillStyle docs for more details.
name | type | description |
---|---|---|
color | string | any |
The text fill style. Can be any valid CanvasRenderingContext |
This Text object.