[UWP]如何在调用WriteableBitmapEx.DrawLine时设置厚度 [英] [UWP]How to set thickness when calling WriteableBitmapEx.DrawLine

查看:74
本文介绍了[UWP]如何在调用WriteableBitmapEx.DrawLine时设置厚度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了DrawLine,但我需要设置  我的行的厚度怎么做?

i used DrawLine but i need to set thickness for my line how do this?

推荐答案

嗨mtashani,

Hi mtashani,

您可以在github上查看此源代码。 

You can look at the source code for this on github. 

WriteableBitmapEx

此处为DrawLine定义。

And the defination for the DrawLine here.

https://github.com/teichgraf/WriteableBitmapEx/blob/c98eb5a2742b663896489145d7d0511a531b98c7/Source/WriteableBitmapEx/WriteableBitmapLineExtensions。 cs

关于sh的笔划厚度存在类似的问题猿可以给你一些提示。我不太确定如何在DrawLine中进行此操作。 

There is a similar issue regarding stroke thickness for shape which could give you some hints. I am not too sure on how to go about this in DrawLine. 

http://stackoverflow.com/questions/14398669/setting-line-stroke-thickness-in-writeablebitmap-drawline-method

但为了更好的回复,您可以在此处发布您的问题。 

But for more better response you could post your issue here. 

https://writeablebitmapex.codeplex.com/workitem/list/basic


这篇关于[UWP]如何在调用WriteableBitmapEx.DrawLine时设置厚度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆