LmskResource Class
Contents
[
Hide
]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.12.0
Constructors
| Name | Description |
|---|---|
| LmskResource() | Initializes a new instance of the LmskResource class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| PSB_RESOURCE_SIGNATURE [static] | int | r | The PSB-specific resource signature. |
| RESOURCE_SIGNATURE [static] | int | r | The common resource signature. |
| TYPE_TOOL_KEY [static] | int | r | The type tool info key. |
| color_component1 | ushort | r/w | Gets the color component 1. |
| color_component2 | ushort | r/w | Gets the color component 2. |
| color_component3 | ushort | r/w | Gets the color component 3. |
| color_component4 | ushort | r/w | Gets the color component 4. |
| color_space | ColorSpace | r/w | Gets the color space. |
| flag | byte | r | Gets the flag. |
| key | int | r | Gets the layer resource key. |
| length | int | r | Gets the layer resource length in bytes. |
| opacity | short | r/w | Gets the opacity. |
| psd_version | int | r | Gets the minimal psd version required for layer resource. 0 indicates no restrictions. |
| signature | int | r | Gets the signature. |
Methods
| Name | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| stream_container | StreamContainer | The stream container to save to. |
| psd_version | int | The PSD version. |