Beispiel #1
0
 public Rect2d(float x, float y, float width, float height, Origin2d origin)
 {
     this.X      = x;
     this.Y      = y;
     this.Width  = width;
     this.Height = height;
     this.Origin = origin;
 }
Beispiel #2
0
 public Rect2d(Position2d position, Size2d size, Origin2d origin)
 {
     this.X      = position.X;
     this.Y      = position.Y;
     this.Width  = size.Width;
     this.Height = size.Height;
     this.Origin = origin;
 }