Ejemplo n.º 1
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;
 }
Ejemplo n.º 2
0
 public Rect2d(Position2d position, Size2d size, Anchor2d anchor) : this(position, size, new Origin2d(anchor))
 {
 }
Ejemplo n.º 3
0
 public Rect2d(Position2d position, Size2d size) : this(position, size, DefaultOrigin)
 {
 }