コード例 #1
0
ファイル: VectorProperty!1.cs プロジェクト: ykafia/Paint.Net4
 public T ClampPotentialValueX(T newValue) =>
 ScalarProperty <T> .Clamp(newValue, this.MinValueX, this.MaxValueX);
コード例 #2
0
 public T ClampPotentialValueY(T newValue)
 {
     return(ScalarProperty <T> .Clamp(newValue, this.MinValueY, this.MaxValueY));
 }
コード例 #3
0
ファイル: ScalarProperty!1.cs プロジェクト: ykafia/Paint.Net4
 public T ClampPotentialValue(T newValue) =>
 ScalarProperty <T> .Clamp(newValue, this.minValue, this.maxValue);