drawio icon indicating copy to clipboard operation
drawio copied to clipboard

Set background of hatched shape

Open floongle opened this issue 2 years ago • 6 comments

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe. Yes. At the moment, if you want to have a hatched shape with a background, you need to make a copy of it, remove the hatching and sent a solid background colour. Then place the copied shape behind the hatched shape.

Describe the solution you'd like It would be very useful to add a second fill colour option to the Hatched shape.

Here's how it could work: image

floongle avatar Feb 28 '23 10:02 floongle

image

I just drop 1 shape on top of another and group it

jeeftor avatar Mar 01 '23 21:03 jeeftor

You're right, that works, and I've shown that in my original submission (see the first "I love ducks example" above). It's what I've been doing and it's (mildly) awkward.

I'm proposing in this feature request that one shape can manage both a hatch and a filled background so that if it ever needs to be changed in style the user doesn't have to ungroup, then edit and then regroup. It also would have the benefit of avoiding accidental misalignment of the two objects.

floongle avatar Mar 01 '23 21:03 floongle

I did realize that you had mentioned this after I posted my example but it was really pretty so I left it :)

jeeftor avatar Mar 05 '23 14:03 jeeftor

IKR! Hatching is beautiful in diagrams.net.

I tell the people I work with that I use hatching just in case my diagrams get printed in black and white, so that they're still comprehensible without the colour (hatching can also be helpful for people with colour blindness I'm told too)... But deep down, I think they all know I use hatching because it's pretty.

Just few filled+hatched grouped objects in a diagram is manageable, but once you've got a whole bunch to deal with, changing things becomes no fun.

floongle avatar Mar 05 '23 16:03 floongle

I am eager for such a feature.

makecent avatar Dec 17 '23 03:12 makecent

The convention for voting in Github issues is to "thumbs up" the original post. Commenting +1 just creates noise.

davidjgraph avatar Mar 21 '24 17:03 davidjgraph