Dashed line using writeablebitmap

493 Views Asked by At

Are there a way when using writeablebitmap with writeablebitmapEx to draw a dashed line? Without having to manually calculate the dashes and create multiple lines to create the dashing effect?

1

There are 1 best solutions below

0
Rene Schulte On BEST ANSWER

Yes, use DrawLinePenned with a BitmapContext pen. You can use another image as pen or just create it on the fly.