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
| Constructor | Description | 
|---|---|
| CurvesDiscreteManager(int maxChannelCount) | Initializes a new instance of the CurvesDiscreteManager class. | 
Methods
| Method | Description | 
|---|---|
| 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:
| Parameter | Type | Description | 
|---|---|---|
| maxChannelCount | int | The maximum channel count. | 
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| arg0 | java.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:
| Parameter | Type | Description | 
|---|---|---|
| channelIndex | int | Index of the channel. | 
| position | byte | The 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:
| Parameter | Type | Description | 
|---|---|---|
| bytes | byte[] | 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:
| Parameter | Type | Description | 
|---|---|---|
| channelIndex | int | Index of the channel. | 
| position | byte | The position. | 
setValueInPosition(int channelIndex, byte position, byte value)
public final void setValueInPosition(int channelIndex, byte position, byte value)
Sets the value in position.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| channelIndex | int | Index of the channel. | 
| position | byte | The position. | 
| value | byte | The value. | 
setValueOfWholeChannel(int channelIndex, byte[] channelValue)
public final void setValueOfWholeChannel(int channelIndex, byte[] channelValue)
Sets the value of whole channel.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| channelIndex | int | Index of the channel. | 
| channelValue | byte[] | 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:
| Parameter | Type | Description | 
|---|---|---|
| arg0 | long | 
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| arg0 | long | |
| arg1 | int |