填充 | Fill

通用属性

fill: string | PaintPaint[]

填充背景或文字颜色, 支持多个颜色叠加。

暂时只支持 string 类型的颜色。

const rect = new Rect({
  width: 100
  height: 100
  fill: "rgb(50,205,121)",
})