aspose.psd.fileformats.psd.layers

Classes

ClassDescription
BlendRangeThe blend range.
ChannelInformationThe channel information.
GlobalLayerMaskInfoThe global layer mask section.
IGradientColorPointBase interface for fill settings
ILayerResourceLoaderThe layer resource loader.
IShapeLayerDescribes the properties of Shape layer.
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 LayerMaskData.image_data bytes length should be equal Width * Height of LayerMaskData.mask_rectangle 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 Layer.add_layer_mask(layer_mask) 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 LayerMaskData.image_data bytes length should be equal Width * Height of LayerMaskData.mask_rectangle properties.
LayerResourceRepresents layer info.
LayerResourcesRegistryDefine 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

Enumerations

EnumerationDescription
LayerFlagsThe layer flags
LayerMaskFlagsThe layer mask flags