16,554
社区成员
发帖
与我相关
我的任务
分享
Dim lngAngle As Long = 20
Dim MyPath As New GraphicsPath(Drawing.Drawing2D.FillMode.Winding)
MyPath.AddString("中国", New FontFamily("Times New Roman"), FontStyle.Bold, 40, New Point(150, 150), StringFormat.GenericDefault)
Dim MyMatrix As New System.Drawing.Drawing2D.Matrix
MyMatrix.RotateAt(lngAngle, New PointF(150, 150))
MyPath.Transform(MyMatrix)
With Me.PictureBox2.CreateGraphics
.Clear(Me.BackColor)
.FillPath(Brushes.Black, MyPath)
End With