前端之家收集整理的这篇文章主要介绍了
[VB.NET]请大家指教!!!,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
请大家指教!!! 我在窗体上画好了一个椭圆,怎样实现让它任意角度旋转? __________________________________________________________________________ Private Sub Form1_Paint(ByVal sender As Object,ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint Dim g As Graphics = e.Graphics g.RotateTransform(20) ''参数旋转的角度,此处为20度 g.DrawEllipse(Pens.Red,New Rectangle(100,50,200,100)) End Sub __________________________________________________________________________ 先谢谢楼上的,怎么才能给你加分? __________________________________________________________________________
原文链接:https://www.f2er.com/vb/263796.html