1

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?

4

1 回答 1

2

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

于 2016-01-15T19:07:21.570 回答