WorkingPathResource

Inheritance: java.lang.Object, com.aspose.psd.fileformats.psd.ResourceBlock

All Implemented Interfaces: com.aspose.psd.fileformats.psd.layers.layerresources.vectorpaths.IVectorPathData

public final class WorkingPathResource extends ResourceBlock implements IVectorPathData

Working path resource.

Constructors

ConstructorDescription
WorkingPathResource(byte[] dataBytes)Initializes a new instance of the WorkingPathResource class.

Fields

FieldDescription
ResouceBlockMeSaSignatureThe resource signature of ImageReady.
ResouceBlockSignatureThe regular Photoshop resource signature.

Methods

MethodDescription
equals(Object arg0)
getClass()
getDataSize()Gets the resource data size in bytes.
getID()Gets or sets the unique identifier for the resource.
getMinimalVersion()Gets the minimal required PSD version.
getName()Gets or sets the resource name.
getPaths()Gets or sets the path records.
getSignature()Gets the resource signature.
getSize()Gets the resource block size in bytes including its data.
getVersion()Gets or sets the version.
hashCode()
isDisabled()Gets or sets a value indicating whether this instance is disabled.
isInverted()Gets or sets a value indicating whether this instance is inverted.
isNotLinked()Gets or sets a value indicating whether this instance is not linked.
notify()
notifyAll()
save(StreamContainer stream)Saves the resource block to the specified stream.
setDisabled(boolean value)Gets or sets a value indicating whether this instance is disabled.
setID(short value)Gets or sets the unique identifier for the resource.
setInverted(boolean value)Gets or sets a value indicating whether this instance is inverted.
setLayerAndMaskInfo_internalized(LayerAndMaskInfo value)Gets or sets the layer and mask information.
setName(String value)Gets or sets the resource name.
setNotLinked(boolean value)Gets or sets a value indicating whether this instance is not linked.
setPaths(VectorPathRecord[] value)Gets or sets the path records.
setSignature_internalized(int signature)
setState_internalized(int value)Gets or sets the resource block state.
setVersion(int value)Gets or sets the version.
toString()
validateValues()Validates the resource values.
wait()
wait(long arg0)
wait(long arg0, int arg1)

WorkingPathResource(byte[] dataBytes)

public WorkingPathResource(byte[] dataBytes)

Initializes a new instance of the WorkingPathResource class.

Parameters:

ParameterTypeDescription
dataBytesbyte[]The data of the vector path.

ResouceBlockMeSaSignature

public static final int ResouceBlockMeSaSignature

The resource signature of ImageReady.

ResouceBlockSignature

public static final int ResouceBlockSignature

The regular Photoshop resource signature.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDataSize()

public int getDataSize()

Gets the resource data size in bytes.

Value: The resource data size.

Returns: int

getID()

public final short getID()

Gets or sets the unique identifier for the resource.

Value: The unique identifier for the resource.

Returns: short

getMinimalVersion()

public int getMinimalVersion()

Gets the minimal required PSD version.

Value: The minimal PSD version.

Returns: int

getName()

public final String getName()

Gets or sets the resource name. Pascal string, padded to make the size even (a null name consists of two bytes of 0).

Value: The resource name.

Returns: java.lang.String

getPaths()

public final VectorPathRecord[] getPaths()

Gets or sets the path records.

Value: The paths.

Returns: com.aspose.psd.fileformats.psd.layers.layerresources.vectorpaths.VectorPathRecord[]

getSignature()

public final int getSignature()

Gets the resource signature. Should be always ‘8BIM’.

Value: The resource signature.

Returns: int

getSize()

public final int getSize()

Gets the resource block size in bytes including its data.

Value: The resource block size.

Returns: int

getVersion()

public final int getVersion()

Gets or sets the version.

Value: The version.

Returns: int

hashCode()

public native int hashCode()

Returns: int

isDisabled()

public final boolean isDisabled()

Gets or sets a value indicating whether this instance is disabled.

Value: true if this instance is disabled; otherwise, false .

Returns: boolean

isInverted()

public final boolean isInverted()

Gets or sets a value indicating whether this instance is inverted.

Value: true if this instance is inverted; otherwise, false .

Returns: boolean

isNotLinked()

public final boolean isNotLinked()

Gets or sets a value indicating whether this instance is not linked.

Value: true if this instance is not linked; otherwise, false .

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

save(StreamContainer stream)

public final void save(StreamContainer stream)

Saves the resource block to the specified stream.

Parameters:

ParameterTypeDescription
streamStreamContainerThe stream to save the resource block to.

setDisabled(boolean value)

public final void setDisabled(boolean value)

Gets or sets a value indicating whether this instance is disabled.

Value: true if this instance is disabled; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setID(short value)

public final void setID(short value)

Gets or sets the unique identifier for the resource.

Value: The unique identifier for the resource.

Parameters:

ParameterTypeDescription
valueshort

setInverted(boolean value)

public final void setInverted(boolean value)

Gets or sets a value indicating whether this instance is inverted.

Value: true if this instance is inverted; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setLayerAndMaskInfo_internalized(LayerAndMaskInfo value)

public final void setLayerAndMaskInfo_internalized(LayerAndMaskInfo value)

Gets or sets the layer and mask information.

Value: The layer and mask information.

Parameters:

ParameterTypeDescription
valuecom.aspose.internal.fileformats.psd.sections.LayerAndMaskInfo

setName(String value)

public final void setName(String value)

Gets or sets the resource name. Pascal string, padded to make the size even (a null name consists of two bytes of 0).

Value: The resource name.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setNotLinked(boolean value)

public final void setNotLinked(boolean value)

Gets or sets a value indicating whether this instance is not linked.

Value: true if this instance is not linked; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setPaths(VectorPathRecord[] value)

public final void setPaths(VectorPathRecord[] value)

Gets or sets the path records.

Value: The paths.

Parameters:

ParameterTypeDescription
valueVectorPathRecord[]

setSignature_internalized(int signature)

public void setSignature_internalized(int signature)

Parameters:

ParameterTypeDescription
signatureint

setState_internalized(int value)

public final void setState_internalized(int value)

Gets or sets the resource block state.

Value: The resource block state.

Parameters:

ParameterTypeDescription
valueint

setVersion(int value)

public final void setVersion(int value)

Gets or sets the version.

Value: The version.

Parameters:

ParameterTypeDescription
valueint

toString()

public String toString()

Returns: java.lang.String

validateValues()

public void validateValues()

Validates the resource values.

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