Ejemplo n.º 1
0
 public SolidColourElementProps(Colour colour, int width, int height)
     : this(colour, (bounds) => new Bounds(x : bounds.X, y : bounds.Y, width : width, height : height))
 {
 }
Ejemplo n.º 2
0
 public SolidColourElementProps(Colour colour, Func <Bounds, Bounds> location)
 {
     this.Colour   = colour;
     this.Location = location;
 }