Share via


Curve.Add Method (Curve, Curve, Curve)

Adds two curves 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 curve1,
    Curve curve2,
    Curve resultCurve
)
'Declaration
Public Shared Function Add ( 
    curve1 As Curve,
    curve2 As Curve,
    resultCurve As Curve
) As Curve
public:
static Curve^ Add(
    [InAttribute] Curve^ curve1, 
    [InAttribute] Curve^ curve2, 
    [InAttribute] Curve^ resultCurve
)
Lumia.Imaging.Adjustments.Curve.Add = function(curve1, curve2, 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) = curve1(x) + curve2(x).

Version Information

Lumia Imaging SDK

Supported in: 3.0, 2.0

See Also

Curve Class

Curve.Curve Members

Add Overload

Lumia.Imaging.Adjustments Namespace