Beispiel #1
0
 public XMLRectangle(XMLPoint location, XMLSize size)
 {
     this.location = location;
     this.size     = size;
 }
Beispiel #2
0
 public XMLRectangle(int x, int y, int width, int height)
 {
     this.location = new XMLPoint(x, y);
     this.size     = new XMLSize(width, height);
 }
Beispiel #3
0
 public XMLPoint Offset(XMLPoint point)
 {
     return(this + point);
 }