CurvesDiscreteManager

Inheritance: java.lang.Object, com.aspose.psd.fileformats.psd.layers.layerresources.CurvesManager

public final class CurvesDiscreteManager extends CurvesManager

Manager for Curves Adjustment Layer that manipulates pixels’ map

Constructors

ConstructorDescription
CurvesDiscreteManager(int maxChannelCount)Initializes a new instance of the CurvesDiscreteManager class.

Methods

MethodDescription
equals(Object arg0)
getBytesForResource_internalized()Gets the bytes for resource.
getClass()
getMap_internalized()Gets the map for processing filter
getMaxChannelCount()Gets the maximum channel count.
getValueInPosition(int channelIndex, byte position)Gets the value in position.
hashCode()
loadFromBytes_internalized(byte[] bytes)Loads data from bytes.
notify()
notifyAll()
setToDefaultValueInPosition(int channelIndex, byte position)Sets to default value in position.
setValueInPosition(int channelIndex, byte position, byte value)Sets the value in position.
setValueOfWholeChannel(int channelIndex, byte[] channelValue)Sets the value of whole channel.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

CurvesDiscreteManager(int maxChannelCount)

public CurvesDiscreteManager(int maxChannelCount)

Initializes a new instance of the CurvesDiscreteManager class.

Parameters:

ParameterTypeDescription
maxChannelCountintThe maximum channel count.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBytesForResource_internalized()

public final byte[] getBytesForResource_internalized()

Gets the bytes for resource.

Returns: byte[] - Bytes to compose CurvResource

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getMap_internalized()

public byte[][] getMap_internalized()

Gets the map for processing filter

Returns: byte[][] - Transformation map

getMaxChannelCount()

public final int getMaxChannelCount()

Gets the maximum channel count.

Value: The maximum channel count.

Returns: int

getValueInPosition(int channelIndex, byte position)

public final byte getValueInPosition(int channelIndex, byte position)

Gets the value in position.

Parameters:

ParameterTypeDescription
channelIndexintIndex of the channel.
positionbyteThe position.

Returns: byte - Value of curve by its position

hashCode()

public native int hashCode()

Returns: int

loadFromBytes_internalized(byte[] bytes)

public void loadFromBytes_internalized(byte[] bytes)

Loads data from bytes.

Parameters:

ParameterTypeDescription
bytesbyte[]The bytes.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setToDefaultValueInPosition(int channelIndex, byte position)

public final void setToDefaultValueInPosition(int channelIndex, byte position)

Sets to default value in position.

Parameters:

ParameterTypeDescription
channelIndexintIndex of the channel.
positionbyteThe position.

setValueInPosition(int channelIndex, byte position, byte value)

public final void setValueInPosition(int channelIndex, byte position, byte value)

Sets the value in position.

Parameters:

ParameterTypeDescription
channelIndexintIndex of the channel.
positionbyteThe position.
valuebyteThe value.

setValueOfWholeChannel(int channelIndex, byte[] channelValue)

public final void setValueOfWholeChannel(int channelIndex, byte[] channelValue)

Sets the value of whole channel.

Parameters:

ParameterTypeDescription
channelIndexintIndex of the channel.
channelValuebyte[]The channel value.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int