Curve.Compose Method (Curve, Curve, Curve)

Composes two curves (curve1 ∘ curve2) 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

Lumia.Imaging.Adjustments.Curve.Compose = function(curve1, curve2, resultCurve);

Parameters

curve1
Type: Lumia.Imaging.Adjustments.Curve
The first operand curve.
curve2
Type: Lumia.Imaging.Adjustments.Curve
The second operand curve.
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(curve2(x)).

Lumia Imaging SDK

Supported in: 3.0, 2.0
Show: