Method Clamp
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Fundamentals.dll
Clamp<T>(T, T, T)
public static T Clamp<T>(this T value, T min, T max) where T : IComparable<T>
Parameters
value
Tmin
Tmax
T
Returns
- T
Type Parameters
T
public static T Clamp<T>(this T value, T min, T max) where T : IComparable<T>
value
Tmin
Tmax
TT