Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
DrawImageを使用して画像ボックスに画像を描画するプログラムがあります。この画像、ボール(.png透明)は、毎秒、異なる色の別のボールで上書きされます。3〜5秒後、上書きのためにボールのエッジが悪くなります。
上書きする前にFillRectangleを使用して背景をクリーンアップしようとしましたが、Windowsフォームの背景を保持する必要があります。どうやってやるの?
将来これに遭遇する人へ:
g.Clear(Color.FromArgb(0,0,0,0)); //Clear the graphics with transparent as background g.DrawImage(...); //Draw your image