Exemplo n.º 1
0
 public T ClampPotentialValueX(T newValue) =>
 ScalarProperty <T> .Clamp(newValue, this.MinValueX, this.MaxValueX);
Exemplo n.º 2
0
 public T ClampPotentialValueY(T newValue)
 {
     return(ScalarProperty <T> .Clamp(newValue, this.MinValueY, this.MaxValueY));
 }
Exemplo n.º 3
0
 public T ClampPotentialValue(T newValue) =>
 ScalarProperty <T> .Clamp(newValue, this.minValue, this.maxValue);