-
Notifications
You must be signed in to change notification settings - Fork 82
Description
What's the problem this feature will solve?
As PyDM is now, there is no way to generate an arbitrary polygon widget and fill it with a brush color. This solution will allow for any polygon (not just regular polygons) to be created and filled.
Also, currently PyDMDrawingIrregularPolygon's brush affects the fill color of its arrow rather than filling the polygon because it inherits the brush logic from PyDMDrawingPolyLine instead of filling itself.
Describe the solution you'd like.
This feature will add the ability to fill the inside of an irregular polygon either by modifying the current PyDMDrawingPolygon class to support irregular polygons (given each point of the polygon) or by adding a fill method to the PyDMDrawingIrregularPolygon class.
Additional context.
This feature will help with the EDM to PyDM converter by allowing for this polygon filling functionality that EDM has but PyDM currently does not.