Esempio 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))
 {
 }
Esempio n. 2
0
 public SolidColourElementProps(Colour colour, Func <Bounds, Bounds> location)
 {
     this.Colour   = colour;
     this.Location = location;
 }