Curve.Add Method (Curve, Int32, Curve)

Adds a signed scalar value to a curve and stores the result in a new or existing curve.

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

Syntax

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

Parameters

  • resultCurve
    Type: Lumia.Imaging.Adjustments.Curve
    Optional. If a curve is passed, the content is overwritten with the result of the operation, keeping the previously set interpolation mode. If null is passed, a new curve is created with the default interpolation mode.

Return Value

Type: Curve
The resulting curve, where result(x) = curve(x) + scalar.

Version Information

Lumia Imaging SDK

Supported in: 3.0, 2.0

See Also

Curve Class

Curve.Curve Members

Add Overload

Lumia.Imaging.Adjustments Namespace