Class LayerMaskDataFull

LayerMaskDataFull class

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.

public sealed class LayerMaskDataFull : LayerMaskData

Constructors

NameDescription
LayerMaskDataFull()The default constructor.

Properties

NameDescription
BackgroundColor { get; set; }Gets or sets the background color.
Bottom { get; set; }Gets or sets the bottom layer mask position.
DataSize { get; }Gets the size of the layer mask mask data.
DefaultColor { get; set; }Gets or sets the default color.
EnclosingBottom { get; set; }Gets or sets the enclosing bottom raster mask position in the PSD image layer.
EnclosingLeft { get; set; }Gets or sets the enclosing left raster mask position in the PSD file layer.
EnclosingRight { get; set; }Gets or sets the enclosing right raster mask position in the PSD file layer.
EnclosingTop { get; set; }Gets or sets the enclosing top position of the raster mask in the PSD image layer.
Flags { get; set; }Gets or sets the layer mask flags.
ImageData { get; set; }Gets or sets the layer mask data (or combined / final mask if there is a vector mask) in the PSD file.
Left { get; set; }Gets or sets the left layer mask position.
MaskRectangle { get; set; }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
RealFlags { get; set; }Gets or sets the layer mask flags that is used for user / raster mask. For vector mask the Flags property is used.
Right { get; set; }Gets or sets the right layer mask position.
Top { get; set; }Gets or sets the top layer mask position.
UserMaskData { get; set; }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).
UserMaskRectangle { get; set; }Gets or sets the user mask (enclosing) rectangle in the PSD image layer..

See Also