vb2005 画图问题
DimGraphicsfunAsSystem.Drawing.GraphicsGraphicsfun=Me.CreateGraphicsDimpencolorAsNewS...
Dim Graphicsfun As System.Drawing.Graphics
Graphicsfun = Me.CreateGraphics
Dim pencolor As New System.Drawing.Pen(System.Drawing.Color.Indigo)
Graphicsfun.DrawEllipse(pencolor, 0, 0, 480, 480)
Graphicsfun.DrawLine(pencolor, x, y, 240, 240)
Graphicsfun.DrawLine(pencolor, x1, y1, 240, 240)
Graphicsfun.DrawLine(pencolor, x2, y2, 240, 240)
现在想把
Graphicsfun.DrawLine(pencolor, x1, y1, 240, 240)
Graphicsfun.DrawLine(pencolor, x2, y2, 240, 240)
这两条线的颜色跟粗细改掉。具体怎么做。 展开
Graphicsfun = Me.CreateGraphics
Dim pencolor As New System.Drawing.Pen(System.Drawing.Color.Indigo)
Graphicsfun.DrawEllipse(pencolor, 0, 0, 480, 480)
Graphicsfun.DrawLine(pencolor, x, y, 240, 240)
Graphicsfun.DrawLine(pencolor, x1, y1, 240, 240)
Graphicsfun.DrawLine(pencolor, x2, y2, 240, 240)
现在想把
Graphicsfun.DrawLine(pencolor, x1, y1, 240, 240)
Graphicsfun.DrawLine(pencolor, x2, y2, 240, 240)
这两条线的颜色跟粗细改掉。具体怎么做。 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询