我怎样才能达到/\和.在徒手画中? [英] how can i achieve the / \ and . in freehand drawing?
本文介绍了我怎样才能达到/\和.在徒手画中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只是vb.net中的新手
im just new in vb.net
Dim yourArray As Point() = {New Point(e.X - pw, e.Y - pw), New Point(e.X, e.Y)}
Dim cle As System.Drawing.Graphics
Dim myPath As New GraphicsPath
Dim myColor As Color
cle = myPhoto.CreateGraphics
pw = tbThickness.Value
If eventString = "L" Then
myColor = btnColor.BackColor
myPath.StartFigure()
myPath.AddLines(yourArray)
myPath.CloseFigure()
cle.DrawPath(New Pen(myColor, pw), myPath)
End If
推荐答案
请参阅我对您对此问题的其他回答.
See my responses to your other question on this subject.
这篇关于我怎样才能达到/\和.在徒手画中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文