how to draw rectangle, if drawn rectangle exceeds panels size and location adjust the rectangle and draw inside panel

前端 未结 0 1345
刺人心
刺人心 2020-12-03 11:59

i need to draw rectangle inside panel. If rectangles x,y,w,h exceeds paneles size,location adjust and draw rectangle inside panel. how to calculate anyone help me. fig 1 dis

相关标签:
回答
  • 消灭零回复
提交回复
热议问题