public final class CurvesContinuousManager extends CurvesManager
Manager for Curves Adjustment Layer that manipulates curves
| Constructor and Description |
|---|
CurvesContinuousManager(int maxChannelCount)
Initializes a new instance of the
CurvesContinuousManager class. |
| Modifier and Type | Method and Description |
|---|---|
void |
addCurvePoint(int channelIndex,
byte x,
byte y)
Adds the point of curve.
|
Point |
getCurvePointByIndex(int channelIndex,
int pointIndex)
Gets the curve point by index.
|
int |
getCurvePointCount(int channelIndex)
Gets the curve point count.
|
void |
removeCurvePoint(int channelIndex,
int pointIndex)
Removes the point of curve.
|
void |
updateCurvePoint(int channelIndex,
int pointIndex,
byte x,
byte y)
Updates the point of curve.
|
getMaxChannelCountpublic CurvesContinuousManager(int maxChannelCount)
Initializes a new instance of the CurvesContinuousManager class.
maxChannelCount - The maximum channel count.public final void updateCurvePoint(int channelIndex,
int pointIndex,
byte x,
byte y)
Updates the point of curve.
channelIndex - Index of the channel.pointIndex - Index of the point.x - The x location.y - The y location.public final void addCurvePoint(int channelIndex,
byte x,
byte y)
Adds the point of curve.
channelIndex - Index of the channel.x - The x location.y - The y location.PsdImageArgumentException - The point you trying to add already existspublic final Point getCurvePointByIndex(int channelIndex, int pointIndex)
Gets the curve point by index.
channelIndex - Index of the channel.pointIndex - Index of the point.public final int getCurvePointCount(int channelIndex)
Gets the curve point count.
channelIndex - Index of the channel.public final void removeCurvePoint(int channelIndex,
int pointIndex)
Removes the point of curve.
channelIndex - Index of the channel.pointIndex - Index of the point.