SKPathEffect.CreateDiscrete without corner changes

Skip to first unread message

Andy M

Sep 13, 2022, 4:51:03 AM (11 days ago) Sep 13
to skia-discuss
The problem with SKPathEffect.CreateDiscrete for jittery lines (good for hand-drawn style lines) is that corners get rounded off in a bad way. There should be an option to keep corner points as-is.
See this image - slight jitter affect makes it look hand-drawn, but the corners are all wrong as the CreateDiscrete effect has taken short cuts.
Unless I am missing something, the only way to avoid this is to draw separate lines instead of a complete path.

Reply all
Reply to author
0 new messages