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