1
是否可以添加大綱,從文本向外擴展的大綱?VB.NET可以將外部大綱添加到文本(筆劃)
即:從Photoshop外面行程就是我在尋找
我已經找到一種方法有大綱的文本里面去,但它不是我所期待的。
我環顧四周,但我一直無法找到任何想要外行大綱的人。
感謝
當前內輪廓:
Dim grp As Graphics = e.Graphics
Dim gp As New Drawing2D.GraphicsPath
Dim useFont As Font = New Font("Impact", 60, FontStyle.Regular)
grp.TextRenderingHint = Drawing.Text.TextRenderingHint.AntiAlias
grp.SmoothingMode = Drawing2D.SmoothingMode.AntiAlias
gp.AddString("3000", useFont.FontFamily, FontStyle.Regular, 60, New Point(0, 0), StringFormat.GenericTypographic)
useFont.Dispose()
Dim orangeBrush As New SolidBrush(Color.FromArgb(226, 149, 0))
grp.FillPath(orangeBrush, gp)
'This is the stroke below
Dim blackpen As New Pen(Color.Black, 2)
grp.DrawPath(blackpen, gp)
gp.Dispose()
你能否包含一個代碼示例?它似乎是自我解釋,但越多的信息越好 – eggy 2013-07-04 03:23:22