New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How does shape use gradients or textures? #7
Comments
Wether geoms should have a style param has not been decided. If you really need to set the gradient(or other paint style) now, please custom your own Shape class and set your own shader of the renderShapes in it, like:
|
No picture marker yet. |
Upgrade to v0.4 The gradient attribute here: The custom tooltip or custom figure annotation seem to fit your task for drawing icons (You have to draw with dart Path, not picture file): See examples here: |
https://g.antv.vision/en/docs/api/shape/attrs#%E7%BA%B9%E7%90%86
The text was updated successfully, but these errors were encountered: