示例#1
0
 public static Thickness <T> operator -(Thickness <T> t) => new Thickness <T>(_arithmetic.Negate(t.Left), _arithmetic.Negate(t.Top), _arithmetic.Negate(t.Right), _arithmetic.Negate(t.Bottom));
示例#2
0
 public static Size <T> operator -(Size <T> s) => new Size <T>(_arithmetic.Negate(s.Width), _arithmetic.Negate(s.Height));
示例#3
0
 public Point <T> Negate()
 {
     return(new Point <T>(_arithmetic.Negate(X), _arithmetic.Negate(Y)));
 }