FXidResource Class

Summary: The Filter Effects resource contains channels, a user mask, and a sheet mask for the smart filter.

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

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

Inheritance: LayerResource

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
FXidResource(key, version, filter_effect_masks)Initializes a new instance of the FXidResource class.

Properties

NameTypeAccessDescription
F_EID_TYPE_TOOL_KEY [static]intrThe type tool info key FEid.
F_XID_TYPE_TOOL_KEY [static]intrThe type tool info key FXid.
PSB_RESOURCE_SIGNATURE [static]intrThe PSB-specific resource signature.
RESOURCE_SIGNATURE [static]intrThe common resource signature.
filter_effect_masksFilterEffectMaskData[]rGets the filter effect masks.
keyintrGets the layer resource key.
lengthintrGets the layer resource length in bytes.
psd_versionintrGets the minimal psd version required for layer resource. 0 indicates no restrictions.
signatureintrGets the layer resource signature.
versionintrGets the version.

Methods

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

Constructor: FXidResource(key, version, filter_effect_masks)

 FXidResource(key, version, filter_effect_masks) 

Initializes a new instance of the FXidResource class.

Parameters:

ParameterTypeDescription
keyintThe resource key.
versionintThe version.
filter_effect_masksFilterEffectMaskData[]The filter effect masks.

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.