コード例 #1
0
 internal NetVolatileImage(java.awt.Component component, int width, int height)
 {
     this.component = component;
     bitmap         = new Bitmap(width, height);
     this.width     = width;
     this.height    = height;
     using (Graphics g = Graphics.FromImage(bitmap))
     {
         g.Clear(Color.White);
     }
 }
コード例 #2
0
ファイル: images.cs プロジェクト: somexotherxguy/ikvm
 internal NetVolatileImage(java.awt.Component component, int width, int height)
 {
     this.component = component;
     bitmap = new Bitmap(width, height);
     this.width = width;
     this.height = height;
     using (Graphics g = Graphics.FromImage(bitmap))
     {
         g.Clear(Color.White);
     }
 }