Open asturur opened 8 months ago
Seems like this would be related, so I'll add it here. It would be great to be able to set the color for underlining. I'm building a note taking app, and underlining something in red for example would be a handy feature.
Yes would be nice at least for underline and strike. Not sure why we have overline tho. In order for this to work a series of decision needs to be taken, like how do i target the underine at a specific place in the text style, underlineFIll? and why underline has no fill and stroke? and then there is risk of a lot of extra features.
Is also not hard to build, someone could give a stab to it if they are not afraid or bothered by long pr review process
Overline is actually kind of cool as it makes a block of text stand out in your note taking (used with underline is what has kind of a cool effect). Is there any way to hack this to add it quickly? I see the fn that applies it is _renderTextDecoration - but since 6+ I'm not really sure how I could override that, the new syntax kind of throws me.
Discussed in https://github.com/fabricjs/fabric.js/discussions/9665