Sdílet prostřednictvím


NumericExtensions.Clamp Metoda

Definice

Přetížení

Clamp(Double, Double, Double)

Pro interní použití v Xamarinu. Forms platformu.

Clamp(Int32, Int32, Int32)

Pro interní použití v Xamarinu. Forms platformu.

Clamp(Double, Double, Double)

Pro interní použití v Xamarinu. Forms platformu.

public static double Clamp (this double self, double min, double max);
static member Clamp : double * double * double -> double

Parametry

self
System.Double

Pro interní použití v Xamarinu. Forms platformu.

min
System.Double

Pro interní použití v Xamarinu. Forms platformu.

max
System.Double

Pro interní použití v Xamarinu. Forms platformu.

Návraty

System.Double

Pro interní použití v Xamarinu. Forms platformu.

Platí pro

Clamp(Int32, Int32, Int32)

Pro interní použití v Xamarinu. Forms platformu.

public static int Clamp (this int self, int min, int max);
static member Clamp : int * int * int -> int

Parametry

self
System.Int32

Pro interní použití v Xamarinu. Forms platformu.

min
System.Int32

Pro interní použití v Xamarinu. Forms platformu.

max
System.Int32

Pro interní použití v Xamarinu. Forms platformu.

Návraty

System.Int32

Pro interní použití v Xamarinu. Forms platformu.

Platí pro