é¦å
设置çªä½çTransparencyKey为ä¸ä¸ªç¹æ®è²ï¼ä¾å¦Greenã
ç¶åå¨çªä½çPaintäºä»¶ä¸ç±»ä¼¼å¦ä¸å¤çï¼ä¾å¦ï¼
GraphicsPath myPath = new GraphicsPath();
myPath.AddLine( 20,0, 0, 0 );
myPath.AddLine( 0,0, 0, 20 );
myPath.AddArc( new Rectangle( 0,0, 40,40 ), 180f, 90f );
e.Graphics.FillPath( Brushes.Green, myPath );
温馨提示:答案为网友推荐,仅供参考