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