public void Draw() { thanxe.FillColor(g, Color.FromArgb(255, 255, 0)); thanxe.Draw(g); nocxe.FillColor(g, Color.FromArgb(1, 244, 198)); nocxe.Draw(g); vanh1.Draw(g); vanh2.Draw(g); vanh1.FillColor(g, Color.FromArgb(174, 162, 121)); vanh2.FillColor(g, Color.FromArgb(174, 162, 121)); banh1.Draw(g); banh2.Draw(g); banh1.FillColor(g, Color.White); banh2.FillColor(g, Color.White); trucBanh1.Draw(g); trucBanh2.Draw(g); l1.Draw(g); light.Draw(g); light.FillColor(g, Color.Red); }
public void Sun(Graphics g) { A = new Point(1400, 0); HinhTron circle = new HinhTron(200, A, Color.Black); circle.Draw(g); circle.FillColor(g, Color.Red); }
public void draw() { space.Draw(g); space.FillColor(g, Color.Black); quydao.Draw(g); earth.Draw(g); truc.Draw(g); sun.Draw(g); sun.FillColor(g, Color.FromArgb(246, 166, 0)); }
public void DrawNgay() { nenTroi.FillColor(g, Color.FromArgb(62, 155, 244)); sun.Draw(g); thanCay.FillColor(g, Color.DarkOliveGreen); laCay.FillColor(g, Color.Green); house1.FillColor(g, Color.Gray); house2.FillColor(g, Color.Gray); house3.FillColor(g, Color.Gray); //windowns1.FillColor(g, Color.White); windowns2.FillColor(g, Color.White); windowns3.FillColor(g, Color.White); windowns4.FillColor(g, Color.White); windowns5.FillColor(g, Color.White); windowns6.FillColor(g, Color.White); windowns7.FillColor(g, Color.White); windowns8.FillColor(g, Color.White); //windowns11.FillColor(g, Color.White); windowns12.FillColor(g, Color.White); windowns13.FillColor(g, Color.White); windowns14.FillColor(g, Color.White); windowns15.FillColor(g, Color.White); windowns16.FillColor(g, Color.White); windowns17.FillColor(g, Color.White); windowns18.FillColor(g, Color.White); //windowns21.FillColor(g, Color.White); windowns22.FillColor(g, Color.White); windowns23.FillColor(g, Color.White); windowns24.FillColor(g, Color.White); windowns25.FillColor(g, Color.White); windowns26.FillColor(g, Color.White); //windowns31.FillColor(g, Color.White); windowns32.FillColor(g, Color.White); windowns33.FillColor(g, Color.White); windowns34.FillColor(g, Color.White); trafficlights1.FillColor(g, Color.Pink); trafficlights2.FillColor(g, Color.Pink); lightbulbL.FillColor(g, Color.White); lightbulbR.FillColor(g, Color.White); cloud1.FillColor(g, Color.LightPink); cloud2.FillColor(g, Color.LightPink); cloud3.FillColor(g, Color.LightPink); cloud4.FillColor(g, Color.LightPink); cloud5.FillColor(g, Color.BlueViolet); cloud6.FillColor(g, Color.BlueViolet); cloud7.FillColor(g, Color.BlueViolet); cloud8.FillColor(g, Color.BlueViolet); house1.Draw(g); house2.Draw(g); house3.Draw(g); //windowns1.Draw(g); windowns2.Draw(g); windowns3.Draw(g); windowns4.Draw(g); windowns5.Draw(g); windowns6.Draw(g); windowns7.Draw(g); windowns8.Draw(g); //windowns11.Draw(g); windowns12.Draw(g); windowns13.Draw(g); windowns14.Draw(g); windowns15.Draw(g); windowns16.Draw(g); windowns17.Draw(g); windowns18.Draw(g); //windowns21.Draw(g); windowns22.Draw(g); windowns23.Draw(g); windowns24.Draw(g); windowns25.Draw(g); windowns26.Draw(g); //windowns31.Draw(g); windowns32.Draw(g); windowns33.Draw(g); windowns34.Draw(g); d.FillColor(g, Color.FromArgb(127, 127, 127)); vachkeDuong1.Draw(g); vachkeDuong2.Draw(g); vachkeDuong3.Draw(g); vachkeDuong4.Draw(g); c.Draw(); }