ImageEn, unit iexColorCurve

TIEColorCurve.AddCurvePoint

TIEColorCurve.AddCurvePoint


Declaration

function AddCurvePoint(pt: TPoint): Integer;


Description

Adds a point to the curve. pt.X and pt.Y should be in the range 0 - 255.
Result is the position it was inserted.

Note: There is a maximum of 32 points


Example

// Set curve at X=50 to height of 200
IEColorCurve1.AddCurvePoint( 50, 200 );


See Also

DeleteCurvePoint