Curve.Multiply Method (Curve, Double, Curve)
Multiplies a curve with 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 Multiply(
Curve curve,
double factor,
Curve resultCurve
)
'Declaration
Public Shared Function Multiply (
curve As Curve,
factor As Double,
resultCurve As Curve
) As Curve
public:
static Curve^ Multiply(
[InAttribute] Curve^ curve,
[InAttribute] double factor,
[InAttribute] Curve^ resultCurve
)
Lumia.Imaging.Adjustments.Curve.Multiply = function(curve, factor, resultCurve);
Parameters
- curve
Type: Lumia.Imaging.Adjustments.Curve
The curve to multiply with a scalar.
- factor
Type: System.Double
The scalar to multiply with
- 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) * factor.
Version Information
Lumia Imaging SDK
Supported in: 3.0, 2.0