Class LayerMaskDataShort

LayerMaskDataShort class

Defines the LayerMaskDataShort class which contains information about the mask data in the PSD file layer when the layer has only raster or vector mask but not both. Otherwise, a LayerMaskDataFull is used. If the layer has only a raster mask the ImageData contains the raster mask data bytes. If the layer has only a vector mask the ImageData contains the vector mask rasterized (cached) data bytes. The ImageData bytes length should be equal Width * Height of MaskRectangle properties.

public sealed class LayerMaskDataShort : LayerMaskData

Constructors

NameDescription
LayerMaskDataShort()The default constructor.

Properties

NameDescription
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.
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
Padding { get; set; }Gets or sets the layer mask padding.
Right { get; set; }Gets or sets the right layer mask position.
Top { get; set; }Gets or sets the top layer mask position.

See Also