about the type of attribute-background that in interface CanvasConfig
Open
feature
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 230
- PR merge metrics
- No merged PRs in 30d
Description
- [ ] I have searched the [issues](https://github.com/antvis/g/issues) of this repository and believe that this is not a duplicate.
### What problem does this feature solve?
Passing Parameters: we can pass CanvasPattern, and typescript do not report syntax error
### What does the proposed API look like?
finally this attribute is used for set fillStyle, so I think it can add a CanvasPattern type to background, like this, and it is worked I tried
Contributor guide
Assessment
This issue has not been assessed yet.