Clamp(Int32,Int32,Int32) Method
In This Topic
Clamps the specified value.
Syntax
'Declaration
Public Overloads Shared Function Clamp( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer _
) As System.Integer
public static System.int Clamp(
System.int ,
System.int ,
System.int
)
Parameters
- value
- The value.
- min
- The min.
- max
- The max.
Return Value
The result of clamping a value between min and max
See Also