UnknownSmartFilter Class

Summary: The class to hold unknown smart filter data.

Module: aspose.psd.fileformats.psd.layers.smartfilters

Full Name: aspose.psd.fileformats.psd.layers.smartfilters.UnknownSmartFilter

Inheritance: SmartFilter

Aspose.PSD Version: 24.9.0

Properties

NameTypeAccessDescription
blend_modeBlendModer/wGets or sets the blending mode.
filter_idintrGets the smart filter type identifier.
is_enabledboolr/wGets or sets the is enabled status of the smart filter.
namestringrGets the smart filter name.
opacitydoubler/wGets or sets the opacity value of smart filter.
source_descriptorDescriptorStructurerThe source descriptor structure with smart filter data.

Methods

NameDescription
apply(raster_image)Applies the current filter to input RasterImage image.
apply_to_mask(layer_with_mask)Applies the current filter to input Layer mask data.
clone()Makes the memberwise clone of the current instance of the type.

Method: apply(raster_image)

 apply(raster_image) 

Applies the current filter to input RasterImage image.

Parameters:

ParameterTypeDescription
raster_imageRasterImageThe raster image.

Method: apply_to_mask(layer_with_mask)

 apply_to_mask(layer_with_mask) 

Applies the current filter to input Layer mask data.

Parameters:

ParameterTypeDescription
layer_with_maskLayerThe layer with mask data.

Method: clone()

 clone() 

Makes the memberwise clone of the current instance of the type.

Returns

TypeDescription
SmartFilterReturns the memberwise clone of the current instance of the type.