antvis / antvis/G

does g support svg mask API

Open
#1,107 2 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

- [x] 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?
```

```

does g support svg mask API?I only found clipPath API in document and source code。

### What does the proposed API look like?
```
const rect = new Rect({
style: {
mask: maskPath,
x: 0,
y: 0,
width: 82,
height: 42,
}
})
```

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.