Curve.CombineIntervals Method (Curve, Curve, Int32)

Combines two curves into a new curve by selecting points in one interval from the corresponding interval in one input curve, and the remaining points from the other curve.

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

Lumia.Imaging.Adjustments.Curve.CombineIntervals = function(curve1, curve2, interval);


Type: Lumia.Imaging.Adjustments.Curve
The first curve to select points from.
Type: Lumia.Imaging.Adjustments.Curve
The second curve to select points from
Type: System.Int32
The x value that specifies the division between intervals

Return Value

Type: Curve
The resulting curve, where result(x) = curve1(x) if x <= interval, result(x) = curve2(x) if x > interval

Lumia Imaging SDK

Supported in: 3.0, 2.0