LmskResource Class

Summary: The LMsk resource.

Module: aspose.psd.fileformats.psd.layers.layerresources

Full Name: aspose.psd.fileformats.psd.layers.layerresources.LmskResource

Inheritance: LayerResource

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
LmskResource()Initializes a new instance of the LmskResource class.

Properties

NameTypeAccessDescription
PSB_RESOURCE_SIGNATURE [static]intrThe PSB-specific resource signature.
RESOURCE_SIGNATURE [static]intrThe common resource signature.
TYPE_TOOL_KEY [static]intrThe type tool info key.
color_component1ushortr/wGets the color component 1.
color_component2ushortr/wGets the color component 2.
color_component3ushortr/wGets the color component 3.
color_component4ushortr/wGets the color component 4.
color_spaceColorSpacer/wGets the color space.
flagbyterGets the flag.
keyintrGets the layer resource key.
lengthintrGets the layer resource length in bytes.
opacityshortr/wGets the opacity.
psd_versionintrGets the psd version.
signatureintrGets the signature.

Methods

NameDescription
save(stream_container, psd_version)Saves the resource to the specified stream container.

Constructor: LmskResource()

 LmskResource() 

Initializes a new instance of the LmskResource class.

Method: save(stream_container, psd_version)

 save(stream_container, psd_version) 

Saves the resource to the specified stream container.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container to save to.
psd_versionintThe PSD version.