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

Lumia.Imaging.Adjustments.Curve.Add = function(curve, scalar, resultCurve);

Parameters

curve
Type: Lumia.Imaging.Adjustments.Curve
The curve operand.
scalar
Type: System.Int32
The scalar operand.
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.

Lumia Imaging SDK

Supported in: 3.0, 2.0
Show: