antvis / antvis/G

about the type of attribute-background that in interface CanvasConfig

Open
#1,331 4 comments 0 reactions 1 assignee Claimed by @xiaoiver View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.