香港專業教育學院得到了panel
和IM上panel
.. 畫一個心臟,但我不想畫我想畫的一切,除了心臟因此心臟是透明的心臟。 我可以將從Path
中選擇的Region
反轉嗎?系統圖反轉地區打造出路徑
System.Drawing.Drawing2D.GraphicsPath path = new System.Drawing.Drawing2D.GraphicsPath();
path.AddArc(0, 0, (this.Width/2), (this.Height/2), 135, 195);
path.AddArc((this.Width/2), 0, (this.Width/2), (this.Height/2), 210, 195);
path.AddLine((this.Width/2), this.Height, (this.Width/2), this.Height);
this.Region = new Region(path);
this.BackColor = Color.Black;
它看起來像什麼(白=透明):
我希望它看起來像(白色=透明)什麼:
這不會幫助我,因爲我想在另一個控制奠定它.. – Vloxxity
我相信透明是有效的顏色選擇。但這對外面的黑人沒有幫助,所以這不會很有幫助。 – Bobson