Слайд 7
Drawing of Arc
5) DrawArc(pen, int x, int y, int Height, int
Width,
int Start_Angle, int End_Angle);- the arc is a part of ellipse that is placed in rectangle with preset Height and Width.
Start_Angle, End_Angle- these are start angle and finish angle in degree;
g.DrawArc(pen, 200, 200, 100, 100, 10, 160);
6) Pie.
It differs from an arc because in this case arc's ends are connected with center by radiuses.
DrawPie(pen, rect, StartAngle, EndAngle);
rect - this is an object of Rectangle or RectangleF classes. It's possible merely to preset the coordinates, height and width of rectangle.
g.DrawPie(pen2,100,100,350,350,0,280);