LayerMaskDataFull

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

public final class LayerMaskDataFull extends LayerMaskData

Defines the LayerMaskDataFull class which contains information about the mask data in the PSD file layer when the layer has both layer and vector masks. Otherwise, a LayerMaskDataShort is used. The ImageData contains the raster mask and the rasterized vector mask combined. The ImageData bytes length should be equal MaskRectangle.Width * MaskRectangle.Height properties.

Constructors

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

Methods

MethodDescription
deepClone_internalized(LayerMaskData mask)Clones the layer mask.
equals(Object arg0)
getBackgroundColor()Gets or sets the background color.
getBottom()Gets or sets the bottom layer mask position.
getClass()
getDataSize()Gets the size of the layer mask mask data.
getDefaultColor()Gets or sets the default color.
getEnclosingBottom()Gets or sets the enclosing bottom raster mask position in the PSD image layer.
getEnclosingLeft()Gets or sets the enclosing left raster mask position in the PSD file layer.
getEnclosingRight()Gets or sets the enclosing right raster mask position in the PSD file layer.
getEnclosingTop()Gets or sets the enclosing top position of the raster mask in the PSD image layer.
getFlags()Gets or sets the layer mask flags.
getHeight_internalized()Gets the mask height.
getImageData()Gets or sets the layer mask data (or combined / final mask if there is a vector mask) in the PSD file.
getLeft()Gets or sets the left layer mask position.
getMaskRectangle()Gets or sets the mask Rectangle of the layer mask in the PSD file.
getRealFlags()Gets or sets the layer mask flags that is used for user / raster mask.
getRight()Gets or sets the right layer mask position.
getTop()Gets or sets the top layer mask position.
getUserMaskData()Gets or sets the user (raster) mask data of a layer in the PSD file.
getUserMaskRectangle()Gets or sets the user mask (enclosing) rectangle in the PSD image layer.
getWidth_internalized()Gets the mask width.
hashCode()
notify()
notifyAll()
save_internalized(StreamContainer streamContainer)Saves LayerMaskData to the specified StreamContainer .
setBackgroundColor(byte value)Gets or sets the background color.
setBottom(int value)Gets or sets the bottom layer mask position.
setDefaultColor(byte value)Gets or sets the default color.
setEnclosingBottom(int value)Gets or sets the enclosing bottom raster mask position in the PSD image layer.
setEnclosingLeft(int value)Gets or sets the enclosing left raster mask position in the PSD file layer.
setEnclosingRight(int value)Gets or sets the enclosing right raster mask position in the PSD file layer.
setEnclosingTop(int value)Gets or sets the enclosing top position of the raster mask in the PSD image layer.
setFlags(byte value)Gets or sets the layer mask flags.
setImageData(byte[] value)Gets or sets the layer mask data (or combined / final mask if there is a vector mask) in the PSD file.
setLeft(int value)Gets or sets the left layer mask position.
setMaskRectangle(Rectangle value)Gets or sets the mask Rectangle of the layer mask in the PSD file.
setRealFlags(byte value)Gets or sets the layer mask flags that is used for user / raster mask.
setRight(int value)Gets or sets the right layer mask position.
setTop(int value)Gets or sets the top layer mask position.
setUserMaskData(byte[] value)Gets or sets the user (raster) mask data of a layer in the PSD file.
setUserMaskRectangle(Rectangle value)Gets or sets the user mask (enclosing) rectangle in the PSD image layer.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

LayerMaskDataFull()

public LayerMaskDataFull()

Initializes a new instance of the LayerMaskDataFull class.

deepClone_internalized(LayerMaskData mask)

public static LayerMaskData deepClone_internalized(LayerMaskData mask)

Clones the layer mask.

Parameters:

ParameterTypeDescription
maskLayerMaskDataThe mask.

Returns: LayerMaskData - The cloned layer mask.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBackgroundColor()

public final byte getBackgroundColor()

Gets or sets the background color.

Value: The background color.

Returns: byte

getBottom()

public final int getBottom()

Gets or sets the bottom layer mask position.

Value: The bottom layer mask position.

Returns: int

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDataSize()

public final int getDataSize()

Gets the size of the layer mask mask data.

Value: The size of the layer mask mask data.

Returns: int

getDefaultColor()

public final byte getDefaultColor()

Gets or sets the default color.

Value: The default color.

Returns: byte

getEnclosingBottom()

public final int getEnclosingBottom()

Gets or sets the enclosing bottom raster mask position in the PSD image layer.

Value: The bottom layer mask position.

Returns: int

getEnclosingLeft()

public final int getEnclosingLeft()

Gets or sets the enclosing left raster mask position in the PSD file layer.

Value: The left layer mask position.

Returns: int

getEnclosingRight()

public final int getEnclosingRight()

Gets or sets the enclosing right raster mask position in the PSD file layer.

Value: The right layer mask position.

Returns: int

getEnclosingTop()

public final int getEnclosingTop()

Gets or sets the enclosing top position of the raster mask in the PSD image layer.

Value: The top layer mask position.

Returns: int

getFlags()

public final byte getFlags()

Gets or sets the layer mask flags.

Value: The layer mask flags.

Returns: byte

getHeight_internalized()

public final int getHeight_internalized()

Gets the mask height.

Value: The height.

Returns: int

getImageData()

public final byte[] getImageData()

Gets or sets the layer mask data (or combined / final mask if there is a vector mask) in the PSD file.

Value: The image data.

Returns: byte[]

getLeft()

public final int getLeft()

Gets or sets the left layer mask position.

Value: The left layer mask position.

Returns: int

getMaskRectangle()

public final Rectangle getMaskRectangle()

Gets or sets the mask Rectangle of the layer mask in the PSD file. It takes left, right, top and bottom properties and creates Rectangle

Value: The mask rectangle.

Returns: Rectangle

getRealFlags()

public final byte getRealFlags()

Gets or sets the layer mask flags that is used for user / raster mask. For vector mask the Flags property is used.

Value: The real layer mask flags.

Returns: byte

getRight()

public final int getRight()

Gets or sets the right layer mask position.

Value: The right layer mask position.

Returns: int

getTop()

public final int getTop()

Gets or sets the top layer mask position.

Value: The top layer mask position.

Returns: int

getUserMaskData()

public final byte[] getUserMaskData()

Gets or sets the user (raster) mask data of a layer in the PSD file. (There is a raterized vector mask in the MaskData property).

Value: The layer image data in the PSD image.

Returns: byte[]

getUserMaskRectangle()

public final Rectangle getUserMaskRectangle()

Gets or sets the user mask (enclosing) rectangle in the PSD image layer.

Value: The user mask Rectangle .

Returns: Rectangle

getWidth_internalized()

public final int getWidth_internalized()

Gets the mask width.

Value: The width.

Returns: int

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

save_internalized(StreamContainer streamContainer)

public void save_internalized(StreamContainer streamContainer)

Saves LayerMaskData to the specified StreamContainer .

Parameters:

ParameterTypeDescription
streamContainerStreamContainerThe stream container to save data to.

setBackgroundColor(byte value)

public final void setBackgroundColor(byte value)

Gets or sets the background color.

Value: The background color.

Parameters:

ParameterTypeDescription
valuebyte

setBottom(int value)

public final void setBottom(int value)

Gets or sets the bottom layer mask position.

Value: The bottom layer mask position.

Parameters:

ParameterTypeDescription
valueint

setDefaultColor(byte value)

public final void setDefaultColor(byte value)

Gets or sets the default color.

Value: The default color.

Parameters:

ParameterTypeDescription
valuebyte

setEnclosingBottom(int value)

public final void setEnclosingBottom(int value)

Gets or sets the enclosing bottom raster mask position in the PSD image layer.

Value: The bottom layer mask position.

Parameters:

ParameterTypeDescription
valueint

setEnclosingLeft(int value)

public final void setEnclosingLeft(int value)

Gets or sets the enclosing left raster mask position in the PSD file layer.

Value: The left layer mask position.

Parameters:

ParameterTypeDescription
valueint

setEnclosingRight(int value)

public final void setEnclosingRight(int value)

Gets or sets the enclosing right raster mask position in the PSD file layer.

Value: The right layer mask position.

Parameters:

ParameterTypeDescription
valueint

setEnclosingTop(int value)

public final void setEnclosingTop(int value)

Gets or sets the enclosing top position of the raster mask in the PSD image layer.

Value: The top layer mask position.

Parameters:

ParameterTypeDescription
valueint

setFlags(byte value)

public final void setFlags(byte value)

Gets or sets the layer mask flags.

Value: The layer mask flags.

Parameters:

ParameterTypeDescription
valuebyte

setImageData(byte[] value)

public final void setImageData(byte[] value)

Gets or sets the layer mask data (or combined / final mask if there is a vector mask) in the PSD file.

Value: The image data.

Parameters:

ParameterTypeDescription
valuebyte[]

setLeft(int value)

public final void setLeft(int value)

Gets or sets the left layer mask position.

Value: The left layer mask position.

Parameters:

ParameterTypeDescription
valueint

setMaskRectangle(Rectangle value)

public final void setMaskRectangle(Rectangle value)

Gets or sets the mask Rectangle of the layer mask in the PSD file. It takes left, right, top and bottom properties and creates Rectangle

Value: The mask rectangle.

Parameters:

ParameterTypeDescription
valueRectangle

setRealFlags(byte value)

public final void setRealFlags(byte value)

Gets or sets the layer mask flags that is used for user / raster mask. For vector mask the Flags property is used.

Value: The real layer mask flags.

Parameters:

ParameterTypeDescription
valuebyte

setRight(int value)

public final void setRight(int value)

Gets or sets the right layer mask position.

Value: The right layer mask position.

Parameters:

ParameterTypeDescription
valueint

setTop(int value)

public final void setTop(int value)

Gets or sets the top layer mask position.

Value: The top layer mask position.

Parameters:

ParameterTypeDescription
valueint

setUserMaskData(byte[] value)

public final void setUserMaskData(byte[] value)

Gets or sets the user (raster) mask data of a layer in the PSD file. (There is a raterized vector mask in the MaskData property).

Value: The layer image data in the PSD image.

Parameters:

ParameterTypeDescription
valuebyte[]

setUserMaskRectangle(Rectangle value)

public final void setUserMaskRectangle(Rectangle value)

Gets or sets the user mask (enclosing) rectangle in the PSD image layer.

Value: The user mask Rectangle .

Parameters:

ParameterTypeDescription
valueRectangle

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