# CanvasContext.setFillStyle(string|CanvasGradient color)
From base library 1.9.90 Start, this interface stops maintenance, please use CanvasContext.fillStyle replace
with Promise style call: Not supported
Mini Program plugin: Support
Set the fill color.
# parameter
# string|CanvasGradient color
Fill color, default color is black。
# Code examples
初始值 ctx = wx.createCanvasContext('myCanvas')
ctx.setFillStyle('red')
ctx.fillRect(10, 10, 150, 75)
ctx.draw()