Example #1
0
 public Container(ScalableVector2 size, ScalableVector2 position)
 {
     Size     = size;
     Position = position;
 }
Example #2
0
 public Container(float x, float y, float width, float height)
 {
     Size     = new ScalableVector2(width, height);
     Position = new ScalableVector2(x, y);
 }
Example #3
0
 public Container()
 {
     Size     = new ScalableVector2(WindowManager.Rectangle.Width, WindowManager.Rectangle.Height);
     Position = new ScalableVector2(0, 0);
 }