[VB.NET]vb.net 中如何在窗体中画个圆,用circle语句能不能简单举个例子?谢谢

前端之家收集整理的这篇文章主要介绍了[VB.NET]vb.net 中如何在窗体中画个圆,用circle语句能不能简单举个例子?谢谢前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
vb.net 中如何在窗体中画个圆,用circle语句能不能简单举个例子?谢谢 vb.net 中如何在窗体中画个圆,用circle语句能不能简单举个例子?谢谢 __________________________________________________________________________ 请大侠们帮帮忙 __________________________________________________________________________ 看教材中的GDI+绘图 __________________________________________________________________________ Circle是6.0中的方法,以下是画一个圆的代码,您可以研究一下看看,呵呵。 Private Sub Form1_Paint(ByVal sender As Object,ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint Me.CreateGraphics.DrawArc(New Pen(Color.Black),100,50,360) End Sub __________________________________________________________________________ Imports System.Drawing Din g As New Graphics g.DrawEllipse(New Pen(Color.Red,3),20,40,20) __________________________________________________________________________ Imports System.Drawing Dim g As Graphics g = Me.CreateGraphics g.DrawEllipse(New Pen(Color.Red,1),10,15,25) __________________________________________________________________________ Me.CreateGraphics().DrawEllipse(New Pen(Color.Red,20) //以(10,10)为圆心,10为半径的圆 __________________________________________________________________________

猜你在找的VB相关文章