ImageEn, unit iexColorCurve

TIEColorCurve.GetCurvePointCount

TIEColorCurve.GetCurvePointCount


Declaration

function GetCurvePointCount(Channel : TIECurveChannel ): Integer;


Description

Returns the position of point, idx, of the specified channel.


Example

// Show all points of the current channel
for i := 0 to IEColorCurve1.GetCurvePointCount( IEColorCurve1.Channel ) do
  memo1.Lines.Add( IntToStr( IEColorCurve1.GetCurvePoint( IEColorCurve1.Channel, i ). X ) + ', ' +
                   IntToStr( IEColorCurve1.GetCurvePoint( IEColorCurve1.Channel, i ). Y ));


See Also

GetCurvePoint