Curve.Subtract Method (Int32, Curve, Curve)
Subtracts a curve from a signed scalar value 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 Subtract(
int scalar,
Curve curve,
Curve resultCurve
)
'Declaration
Public Shared Function Subtract (
scalar As Integer,
curve As Curve,
resultCurve As Curve
) As Curve
public:
static Curve^ Subtract(
[InAttribute] int scalar,
[InAttribute] Curve^ curve,
[InAttribute] Curve^ resultCurve
)
Lumia.Imaging.Adjustments.Curve.Subtract = function(scalar, curve, resultCurve);
Parameters
- scalar
Type: System.Int32
The scalar operand.
- curve
Type: Lumia.Imaging.Adjustments.Curve
The curve 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) = scalar - curve(x).
Version Information
Lumia Imaging SDK
Supported in: 3.0, 2.0