//-----
 public void setRects(CsharpPats.Rectangle value)
 {
     x = value.x;
     y = value.y;
     w = value.w;
     h = value.h;
     saveAsRect();
 }
 //------
 //create Rectangle object from new position
 protected void saveAsRect()
 {
     rect = new CsharpPats.Rectangle(x, y, w, h);
 }
Beispiel #3
0
 //------
 //create Rectangle object from new position
 private void saveAsRect()
 {
     rect = new CsharpPats.Rectangle(x, y, w, h);
 }