You are on page 1of 2

'Nilgen E. Velazco Y00282080 Public Class DrawArc Private Sub DrawArc_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.

Load End Sub Private Sub DrawArc_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint 'Circles_remember this are reactangles e.Graphics.DrawEllipse(Pens.Black, 50, 50, 800, 700) 'face e.Graphics.DrawEllipse(Pens.Black, 250, 250, 100, 150) 'eye_l e.Graphics.DrawEllipse(Pens.Black, 500, 250, 100, 150) 'eye_r

e.Graphics.FillEllipse(Brushes.Chocolate, 270, 300, 50, 100) 'in_eyef_l e.Graphics.DrawEllipse(Pens.Black, 270, 300, 50, 100) 'in_eye_l e.Graphics.FillEllipse(Brushes.Chocolate, 525, 300, 50, 100) 'in_eyef_r e.Graphics.DrawEllipse(Pens.Black, 525, 300, 50, 100) 'in_eye_r 'Arcs e.Graphics.DrawArc(Pens.Black, e.Graphics.DrawArc(Pens.Black, e.Graphics.DrawArc(Pens.Black, e.Graphics.DrawArc(Pens.Black, e.Graphics.DrawArc(Pens.Black,

10, 320, 90, 100, 95, 180) 'ear_l 800, 320, 90, 100, 265, 180) 'ear_r 250, 200, 100, 50, 180, 180) 'linea 1 500, 200, 100, 50, 180, 180) 'linea 2 300, 500, 275, 135, 180, -180) 'smile

'Lines e.Graphics.DrawLine(Pens.Black, 400, 500, 450, 500) 'linea 3 End Sub End Class

You might also like