public void CreateRectangleA() { Rectangle temp = new Rectangle(); float y = CordY(radius[0]); float x = CordX(radius[0]); temp.Creat(x, y, a, a); Kvadr.Add(temp); }
public void CreateRectangleB() { Rectangle temp = new Rectangle(); float y = CordY(radius[1]); float x = CordX(radius[1]); temp.Creat(x, y, X, X1); Kvadr.Add(temp); }
public void CreateRectangleE() { Rectangle temp = new Rectangle(); float y = CordY(radius[4]); float x = CordX(radius[4]); temp.Creat(x - X1, y, X1, X); Kvadr.Add(temp); }