Class: ToneCurve

PhotoEditorSDK.FilterPrimitives. ToneCurve

Tone curve primitive

new PhotoEditorSDK.FilterPrimitives.ToneCurve()

sdk/operations/filters/primitives/tone-curve.js, line 25

Extends

  • PhotoEditorSDK.Filters.Primitives.LookupTable

Methods

_calculateSplineCurve(points){Array.<Number>}

sdk/operations/filters/primitives/tone-curve.js, line 78

Calculates the spline curve data for the given points

Name Type Description
points Array.<Array.<Number>>
Returns:
Type Description
Array.<Number>

getControlPoints(){undefined}

Returns the controlPoints
Returns:
Name Type Description
controlPoints undefined The controlPoints

getRgbControlPoints(){undefined}

Returns the rgbControlPoints
Returns:
Name Type Description
rgbControlPoints undefined The rgbControlPoints

setControlPoints(controlPoints)

Sets the controlPoints
Name Type Description
controlPoints undefined

setRgbControlPoints(rgbControlPoints)

Sets the rgbControlPoints
Name Type Description
rgbControlPoints undefined