Packages

 

com.aspose.imaging.fileformats.psd.layers.layerresources

Class CurvesContinuousManager



  • public final class CurvesContinuousManager
    extends CurvesManager

    Manager for Curves Adjustment Layer that manipulates curves

    • Constructor Detail

      • CurvesContinuousManager

        public CurvesContinuousManager(int maxChannelCount)

        Initializes a new instance of the CurvesContinuousManager class.

        Parameters:
        maxChannelCount - The maximum channel count.
    • Method Detail

      • updateCurvePoint

        public final void updateCurvePoint(int channelIndex,
                                           int pointIndex,
                                           byte x,
                                           byte y)

        Updates the point of curve.

        Parameters:
        channelIndex - Index of the channel.
        pointIndex - Index of the point.
        x - The x location.
        y - The y location.
      • addCurvePoint

        public final void addCurvePoint(int channelIndex,
                                        byte x,
                                        byte y)

        Adds the point of curve.

        Parameters:
        channelIndex - Index of the channel.
        x - The x location.
        y - The y location.
        Throws:
        com.aspose.imaging.coreExceptions.imageFormats.PsdImageArgumentException - The point you trying to add already exists
      • getCurvePointByIndex

        public final Point getCurvePointByIndex(int channelIndex,
                                                int pointIndex)

        Gets the curve point by index.

        Parameters:
        channelIndex - Index of the channel.
        pointIndex - Index of the point.
        Returns:
        Curve point by index of channel
      • getCurvePointCount

        public final int getCurvePointCount(int channelIndex)

        Gets the curve point count.

        Parameters:
        channelIndex - Index of the channel.
        Returns:
        Count of Curve Point in channel
      • removeCurvePoint

        public final void removeCurvePoint(int channelIndex,
                                           int pointIndex)

        Removes the point of curve.

        Parameters:
        channelIndex - Index of the channel.
        pointIndex - Index of the point.