Kaliko.ImageLibrary
Clamp Method
Clamp a value to the range 0..255
Syntax
'Declaration
Public Shared Function Clamp( _ ByVal value As System.Integer _ ) As System.Integer
'Usage
Dim value As System.Integer Dim value As System.Integer value = PixelUtils.Clamp(value)
public static System.int Clamp( System.int value )
public function Clamp( value: System.Integer ): System.Integer; static;
public static function Clamp( value : System.int ) : System.int;
public: static System.int Clamp( System.int value )
public: static System.int Clamp( System.int value )
Parameters
- value
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also