摘要:
1,point 和size可以互相转换,如:View Code Pointp=newPoint(300,300);p.Offset(12,14);Sizes=newSize(12,12);p=(Point)s;//size转换为points=(Size)p;//point转换为size2.两个矩形的交集 Graphics g = e.Graphics; g.Clear(Color.White); Rectangle rr = new Rectangle(55,55,100,100); Rectangle r2 = new Rectangle(5,5,60,120); Rectangle r3. 阅读全文