Aspose.PSD.FileFormats.Psd.Layers

The namespace contains PSD file format layers.

Classes

ClassDescription
BlendRangeThe blend range.
ChannelInformationThe channel information.
GlobalLayerMaskInfoThe global layer mask section.
LayerThe psd layer.
LayerBlendingRangesDataThe layer blending ranges data.
LayerGroupGroup layer class
LayerHashCalculatorHash Calculator for PSD Layers. It can be used to found equals or different layers in different PSD files
LayerMaskDataDefines base LayerMaskData class which contains information about the layer mask data in the PSD file. It can help to modify Adobe® Photoshop® files programmatically and automate PSD format editing. 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. If the layer has both layer and vector masks the ImageData contains the raster mask and the rasterized vector mask combined. The ImageData bytes length should be equal Width * Height of MaskRectangle properties. Notice, that just removing / adding / updating the LayerMaskData is not enough for correct saving because channels are not updated; though it may provide correct rendering. The AddLayerMask method should be used for that.
LayerMaskDataFullDefines 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.
LayerMaskDataShortDefines 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.
LayerResourceRepresents layer info.
LayerResourcesRegistryDefine the the layer resources registry for PSD files loading.
LinkedLayersManagerLinked layers manager class.
SectionDividerLayerThe section divider layer to mark the bounds of the folder (layer group).
ShapeLayerShape layer. Encapsulates the logic of work with Shape layer and related resources.
TextLayerThe text layer class

Interfaces

InterfaceDescription
IGradientColorPointBase interface for fill settings
ILayerResourceLoaderThe layer resource loader.
IShapeLayerDescribes the properties of Shape layer.

Enumeration

EnumerationDescription
LayerFlagsThe layer flags
LayerMaskFlagsThe layer mask flags