Method Clamp NamespacePaintDotNet AssemblyPaintDotNet.Fundamentals.dll Clamp(int, int, int) public static int Clamp(this int value, int min, int max) Parameters value int min int max int Returns int