Beispiel #1
0
 public static SizeF Add(SizeF first, SizeF second)
 {
     return new SizeF(first.width + second.width, first.height + second.height);
 }
Beispiel #2
0
 public static SizeF Subtract(SizeF first, SizeF second)
 {
     return new SizeF(first.width - second.width, first.height - second.height);
 }
Beispiel #3
0
 public SizeF(SizeF size)
 {
     this.width = size.width;
     this.height = size.height;
 }