das-developers / das2java

The original das2 library. Provides interactive publication-ready 2-D plotting
https://das2.org
GNU Lesser General Public License v3.0
4 stars 0 forks source link

glow around text to ensure contrast #61

Closed jbfaden closed 11 months ago

jbfaden commented 1 year ago

Often there's text on dark regions which is lost because there is no contrast. There should be a mode for the GrannyTextRenderer which draws in a contrasting color with slightly shifted positions to ensure there is contrast. I've used this in projects in the past and it works well.

jbfaden commented 1 year ago

This is done, though the glow which was already drawn around the arrow doesn't match. I'd like to make it so that the 1-pixel glow matches.

jbfaden commented 11 months ago

This is done. When the glow property is set, the glow around the arrow is drawn the same way. image