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

Transparent property for Polygon widgets #2212

Closed
tanviash opened this issue Apr 12, 2022 · 4 comments
Closed

Transparent property for Polygon widgets #2212

tanviash opened this issue Apr 12, 2022 · 4 comments

Comments

@tanviash
Copy link
Collaborator

Support for 'transparent' property for Polygon widgets is missing in Display Builder. Some widgets like rectangle have the transparent property. It is available for polygons in BOY and is utilized for many OPI screens at FRIB.

@kasemir
Copy link
Collaborator

kasemir commented Apr 12, 2022

Could those displays be updated to use poly-line instead of poly-gon?
That should work in both tools.

@tanviash
Copy link
Collaborator Author

Hello Kay. Yes, it is possible to use poly-line but it's quite some work to update old OPIs since there are many such instances. Also, we have other area widgets like arc, rectangle, ellipse that do support transparent feature in display builder but polygon also being an area widget is an outlier in this matter.

@kasemir
Copy link
Collaborator

kasemir commented Apr 13, 2022

I'm not too happy with having a "transparent polygon" that's basically a poly-line, but then a rectangle with rounder corners can turn into an ellipse, and a rectangle with height == 1 turns into a (two-point poly-)line. So there is already some overlap between them and considering the overall state of the world these days adding a "transparent polygon" is probably acceptable.

@tanviash
Copy link
Collaborator Author

Thank you Kay !!

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

2 participants