VmskResource Class
Contents
[
Hide
]Summary: Class VmskResource.
This resource contains information about vector layer mask
Module: aspose.psd.fileformats.psd.layers.layerresources
Full Name: aspose.psd.fileformats.psd.layers.layerresources.VmskResource
Inheritance: IVectorPathData, VectorPathDataResource
Aspose.PSD Version: 24.12.0
Constructors
| Name | Description |
|---|---|
| VmskResource() | Initializes a new instance of the VmskResource class. |
| VmskResource(data) | Initializes a new instance of the VmskResource 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. |
| is_disabled | bool | r/w | Gets or sets a value indicating whether this instance is disabled. |
| is_inverted | bool | r/w | Gets or sets a value indicating whether this instance is inverted. |
| is_not_linked | bool | r/w | Gets or sets a value indicating whether this instance is not linked. |
| key | int | r | Gets the layer resource key. |
| length | int | r | Gets the layer resource length in bytes. |
| paths | VectorPathRecord[] | r/w | Gets or sets the path records. |
| psd_version | int | r | Gets the minimal psd version required for layer resource. 0 indicates no restrictions. |
| signature | int | r | Gets the signature. |
| version | int | r/w | Gets or sets the version. |
Methods
| Name | Description |
|---|---|
| save(stream_container, psd_version) | Saves the resource to the specified stream container. |
Constructor: VmskResource()
VmskResource()
Initializes a new instance of the VmskResource class.
Constructor: VmskResource(data)
VmskResource(data)
Initializes a new instance of the VmskResource class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| data | byte | The resource data. |
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. |