Curve.Clamp Method (Curve, Int32, Int32)

Clamps the y-values of the curve to the interval (min, max).

Namespace: Lumia.Imaging.Adjustments
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

Syntax

public static Curve Clamp(
    Curve curve,
    int min,
    int max
)
'Declaration
Public Shared Function Clamp ( 
    curve As Curve,
    min As Integer,
    max As Integer
) As Curve
public:
static Curve^ Clamp(
    [InAttribute] Curve^ curve, 
    [InAttribute] int min, 
    [InAttribute] int max
)
Lumia.Imaging.Adjustments.Curve.Clamp = function(curve, min, max);

Parameters

Return Value

Type: Curve
The resulting curve, where min <= result(x) <= max

Version Information

Lumia Imaging SDK

Supported in: 3.0, 2.0

See Also

Curve Class

Curve.Curve Members

Clamp Overload

Lumia.Imaging.Adjustments Namespace