Packages

 

com.aspose.psd.fileformats.psd.layers

Class LayerMaskDataFull



  • 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.

    • Constructor Detail

      • LayerMaskDataFull

        public LayerMaskDataFull()

        Initializes a new instance of the LayerMaskDataFull class.

    • Method Detail

      • 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.
      • setUserMaskData

        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.
      • getBackgroundColor

        public final byte getBackgroundColor()

        Gets or sets the background color.

        Value: The background color.
      • setBackgroundColor

        public final void setBackgroundColor(byte value)

        Gets or sets the background color.

        Value: The background color.
      • 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.
      • setRealFlags

        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.
      • 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.
      • setEnclosingTop

        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.
      • 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.
      • setEnclosingLeft

        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.
      • 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.
      • setEnclosingBottom

        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.
      • 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.
      • setEnclosingRight

        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.
      • getUserMaskRectangle

        public final Rectangle getUserMaskRectangle()

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

        Value: The user mask Rectangle.
      • setUserMaskRectangle

        public final void setUserMaskRectangle(Rectangle value)

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

        Value: The user mask Rectangle.