PattResourceData

Inheritance: java.lang.Object

public final class PattResourceData

The class to store the pattern data for PattResource resource.

Constructors

ConstructorDescription
PattResourceData()Initializes a new instance of the PattResourceData class.

Methods

MethodDescription
createNewInstance_internalized()
equals(Object arg0)
getClass()
getDefaultPattern_internalized()Creates the default pattern data.
getHeight()Gets the height.
getImageMode()Gets the image mode.
getLength()Gets the length of the pattern.
getName()Gets or sets the name.
getPatternData()Gets the pattern data.
getPatternId()Gets or sets the pattern identifier.
getVersion()Gets the version.
getWidth()Gets the width.
hashCode()
notify()
notifyAll()
save(StreamContainer streamContainer)Saves the pattern data.
setHeight_internalized(short value)Gets the height.
setImageMode_internalized(short value)Gets the image mode.
setIndexColorTable_internalized(byte[] value)Gets or sets the index color table.
setName(String value)Gets or sets the name.
setPattern(int[] pixels, Rectangle bounds)Sets the pattern.
setPatternDataArrayList_internalized(VirtualMemoryArrayList value)The memory array list.
setPatternId(String value)Gets or sets the pattern identifier.
setVersion_internalized(int value)Gets the version.
setWidth_internalized(short value)Gets the width.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

PattResourceData()

public PattResourceData()

Initializes a new instance of the PattResourceData class.

createNewInstance_internalized()

public static PattResourceData createNewInstance_internalized()

Returns: PattResourceData

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

getDefaultPattern_internalized()

public static PixelsData getDefaultPattern_internalized()

Creates the default pattern data.

Returns: PixelsData - The default pattern data.

getHeight()

public final short getHeight()

Gets the height.

Value: The height.

Returns: short

getImageMode()

public final short getImageMode()

Gets the image mode.

Value: The image mode.

Returns: short

getLength()

public final int getLength()

Gets the length of the pattern.

Value: The length of the pattern.

Returns: int

getName()

public final String getName()

Gets or sets the name.

Value: The name.

Returns: java.lang.String

getPatternData()

public final int[] getPatternData()

Gets the pattern data.

Value: The pattern data.

Returns: int[]

getPatternId()

public final String getPatternId()

Gets or sets the pattern identifier.

Value: The pattern identifier.

Returns: java.lang.String

getVersion()

public final int getVersion()

Gets the version.

Value: The version.

Returns: int

getWidth()

public final short getWidth()

Gets the width.

Value: The width.

Returns: short

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

save(StreamContainer streamContainer)

public final void save(StreamContainer streamContainer)

Saves the pattern data.

Parameters:

ParameterTypeDescription
streamContainerStreamContainerThe stream container to save to.

setHeight_internalized(short value)

public final void setHeight_internalized(short value)

Gets the height.

Value: The height.

Parameters:

ParameterTypeDescription
valueshort

setImageMode_internalized(short value)

public final void setImageMode_internalized(short value)

Gets the image mode.

Value: The image mode.

Parameters:

ParameterTypeDescription
valueshort

setIndexColorTable_internalized(byte[] value)

public final void setIndexColorTable_internalized(byte[] value)

Gets or sets the index color table.

Parameters:

ParameterTypeDescription
valuebyte[]

setName(String value)

public final void setName(String value)

Gets or sets the name.

Value: The name.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setPattern(int[] pixels, Rectangle bounds)

public final void setPattern(int[] pixels, Rectangle bounds)

Sets the pattern.

Parameters:

ParameterTypeDescription
pixelsint[]The pixels.
boundsRectangleThe bounds.

setPatternDataArrayList_internalized(VirtualMemoryArrayList value)

public final void setPatternDataArrayList_internalized(VirtualMemoryArrayList value)

The memory array list.

Parameters:

ParameterTypeDescription
valuecom.aspose.internal.fileformats.psd.layers.layerresources.VirtualMemoryArrayList

setPatternId(String value)

public final void setPatternId(String value)

Gets or sets the pattern identifier.

Value: The pattern identifier.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setVersion_internalized(int value)

public final void setVersion_internalized(int value)

Gets the version.

Value: The version.

Parameters:

ParameterTypeDescription
valueint

setWidth_internalized(short value)

public final void setWidth_internalized(short value)

Gets the width.

Value: The width.

Parameters:

ParameterTypeDescription
valueshort

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