NumericExtensions.Clamp Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Clamp(Double, Double, Double) |
For internal use by the Xamarin.Forms platform. |
Clamp(Int32, Int32, Int32) |
For internal use by the Xamarin.Forms platform. |
Clamp(Double, Double, Double)
For internal use by the Xamarin.Forms platform.
public static double Clamp (this double self, double min, double max);
static member Clamp : double * double * double -> double
Parameters
- self
- System.Double
For internal use by the Xamarin.Forms platform.
- min
- System.Double
For internal use by the Xamarin.Forms platform.
- max
- System.Double
For internal use by the Xamarin.Forms platform.
Returns
For internal use by the Xamarin.Forms platform.
Applies to
Clamp(Int32, Int32, Int32)
For internal use by the Xamarin.Forms platform.
public static int Clamp (this int self, int min, int max);
static member Clamp : int * int * int -> int
Parameters
- self
- System.Int32
For internal use by the Xamarin.Forms platform.
- min
- System.Int32
For internal use by the Xamarin.Forms platform.
- max
- System.Int32
For internal use by the Xamarin.Forms platform.
Returns
For internal use by the Xamarin.Forms platform.