| Summary: | [Contribution] RoundedLineBorder | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Adam Cabler <acabler> | ||||
| Component: | GEF-Legacy Draw2d | Assignee: | gef-inbox <gef-inbox> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | nyssen | ||||
| Version: | 3.3 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows NT | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Adam Cabler
Created attachment 65533 [details]
code contribution
This doesn't look so hot if the figure is setOpaque(true), since that fills a normal rectangle. See AbstractBackground, which was just added in 3.3 to allow a border like this one to also fill in the rounded rectangle. That must be since M5. I'm not able to upgrade until a few things are fixed, so I don't have it to look at. Are you saying that AbstractBackground can be extended to better serve this purpose? Btw - I'm just looking for a border, not a fill. Or are you saying to use AbstractBackground to fill the rrect except for the border to serve the same purpose? (In reply to comment #2) > This doesn't look so hot if the figure is setOpaque(true), since that fills a > normal rectangle. See AbstractBackground, which was just added in 3.3 to allow > a border like this one to also fill in the rounded rectangle. > You've essentially extracted a portion of RoundedRectangle into a border. Unless you extract all of it into the Background support, there's not really much there to warrant adding it to an already over-populated package (draw2d). Resolving due to last comment and because the bug has been inactive since 2007. |