Layer

Overview

Layer is a class in Aspose.Psd FOSS for .NET.

Represents a single PSD layer with basic metadata used by the FOSS library.

Properties: BlendModeKey, Bottom, Bounds, ChannelInformation, ChannelsCount, Clipping, and 11 more.

Properties

NameTypeAccessDescription
NamestringRead/WriteGets or sets the Pascal layer name stored in the layer record.
BoundsRectangleReadGets the Aspose.PSD-compatible local layer rectangle.
WidthintReadGets the layer width in pixels.
HeightintReadGets the layer height in pixels.
TopintRead/WriteGets the top edge of the layer bounds.
LeftintRead/WriteGets the left edge of the layer bounds.
BottomintRead/WriteGets the bottom edge of the layer bounds.
RightintRead/WriteGets the right edge of the layer bounds.
IsVisibleboolRead/WriteGets or sets a value indicating whether the layer is visible.
OpacitybyteRead/WriteGets or sets the layer opacity in the 0-255 range.
ClippingbyteRead/WriteGets the PSD clipping value for the layer.
BlendModeKeyBlendModeRead/WriteGets or sets the layer blend mode key.
ChannelsCountintReadGets the layer’s channels count.
ChannelInformationChannelInformation[]Read/WriteGets or sets the channel information.
LayerMaskDataLayerMaskData?Read/WriteGets or sets the layer mask data.
LayerBlendingRangesDataLayerBlendingRangesDataRead/WriteGets or sets the layer blending ranges data.
LayerTrailerSizeintReadGets the fixed-size byte count of the layer record trailer fields.

See Also