LayerMaskDataFull Class

Summary: 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.

Module: aspose.psd.fileformats.psd.layers

Full Name: aspose.psd.fileformats.psd.layers.LayerMaskDataFull

Inheritance: LayerMaskData

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
LayerMaskDataFull()Initializes a new instance of the LayerMaskDataFull class

Properties

NameTypeAccessDescription
background_colorbyter/wGets or sets the background color.
bottomintr/wGets or sets the bottom layer mask position.
data_sizeintrGets the size of the layer mask mask data.
default_colorbyter/wGets or sets the default color.
enclosing_bottomintr/wGets or sets the enclosing bottom raster mask position in the PSD image layer.
enclosing_leftintr/wGets or sets the enclosing left raster mask position in the PSD file layer.
enclosing_rightintr/wGets or sets the enclosing right raster mask position in the PSD file layer.
enclosing_topintr/wGets or sets the enclosing top position of the raster mask in the PSD image layer.
flagsLayerMaskFlagsr/wGets or sets the layer mask flags.
image_databyter/wGets or sets the layer mask data (or combined / final mask if there is a vector mask) in the PSD file.
leftintr/wGets or sets the left layer mask position.
mask_rectangleRectangler/wGets or sets the mask Rectangle of the layer mask in the PSD file.
It takes left, right, top and bottom properties and creates Rectangle
real_flagsLayerMaskFlagsr/wGets or sets the layer mask flags that is used for user / raster mask. For vector mask the Flags property is used.
rightintr/wGets or sets the right layer mask position.
topintr/wGets or sets the top layer mask position.
user_mask_databyter/wGets or sets the user (raster) mask data of a layer in the PSD file. (There is a raterized vector mask in the MaskData property).
user_mask_rectangleRectangler/wGets or sets the user mask (enclosing) rectangle in the PSD image layer..

Constructor: LayerMaskDataFull()

 LayerMaskDataFull() 

Initializes a new instance of the LayerMaskDataFull class