CurvesContinuousManager Class

Summary: Manager for Curves Adjustment Layer that manipulates curves

Module: aspose.psd.fileformats.psd.layers.layerresources

Full Name: aspose.psd.fileformats.psd.layers.layerresources.CurvesContinuousManager

Inheritance: CurvesManager

Aspose.PSD Version: 24.4.0

Constructors

NameDescription
CurvesContinuousManager(max_channel_count)Initializes a new instance of the CurvesContinuousManager class.

Properties

NameTypeAccessDescription
max_channel_countintrGets the maximum channel count.

Methods

NameDescription
add_curve_point(channel_index, x, y)Adds the point of curve.
get_curve_point_by_index(channel_index, point_index)Gets the curve point by index.
get_curve_point_count(channel_index)Gets the curve point count.
remove_curve_point(channel_index, point_index)Removes the point of curve.
update_curve_point(channel_index, point_index, x, y)Updates the point of curve.

Constructor: CurvesContinuousManager(max_channel_count)

 CurvesContinuousManager(max_channel_count) 

Initializes a new instance of the CurvesContinuousManager class.

Parameters:

ParameterTypeDescription
max_channel_countintThe maximum channel count.

Method: add_curve_point(channel_index, x, y)

 add_curve_point(channel_index, x, y) 

Adds the point of curve.

Parameters:

ParameterTypeDescription
channel_indexintIndex of the channel.
xbyteThe x location.
ybyteThe y location.

Method: get_curve_point_by_index(channel_index, point_index)

 get_curve_point_by_index(channel_index, point_index) 

Gets the curve point by index.

Parameters:

ParameterTypeDescription
channel_indexintIndex of the channel.
point_indexintIndex of the point.

Returns

TypeDescription
PointCurve point by index of channel

Method: get_curve_point_count(channel_index)

 get_curve_point_count(channel_index) 

Gets the curve point count.

Parameters:

ParameterTypeDescription
channel_indexintIndex of the channel.

Returns

TypeDescription
intCount of Curve Point in channel

Method: remove_curve_point(channel_index, point_index)

 remove_curve_point(channel_index, point_index) 

Removes the point of curve.

Parameters:

ParameterTypeDescription
channel_indexintIndex of the channel.
point_indexintIndex of the point.

Method: update_curve_point(channel_index, point_index, x, y)

 update_curve_point(channel_index, point_index, x, y) 

Updates the point of curve.

Parameters:

ParameterTypeDescription
channel_indexintIndex of the channel.
point_indexintIndex of the point.
xbyteThe x location.
ybyteThe y location.