Skip to content
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

RGBA values or opacity #5

Open
itscz-org opened this issue Apr 15, 2016 · 5 comments
Open

RGBA values or opacity #5

itscz-org opened this issue Apr 15, 2016 · 5 comments

Comments

@itscz-org
Copy link

Is it possible to configure some alpha to generate smoothly faded polys with this plugin?

@klaftertief
Copy link
Contributor

This plugin does not support RGBA palette colours or a general opacity at the moment. That's because a path consists of multiple separately drawn lines, one for each line segment. The lines overlap on the start- and endpoints and with semitransparent lines there would be circles there.

I'll have a look to maybe use ctx.globalCompositeOperation in an upcoming release to support alpha values.

@m314
Copy link

m314 commented Dec 13, 2017

Bump. Any further thoughts on this?

@webmatrixxxl
Copy link

Opacity will be greate!

@Pukri
Copy link

Pukri commented May 31, 2021

Is related PR getting reviewed? #23

@trevelyanuk
Copy link

Bump here - The PR should fix this (albeit with some extras put into it!). @klaftertief ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants