SmartFilter Class
Contents
[
Hide
]Summary: The class to process a base logic of smart filters.
Module: aspose.psd.fileformats.psd.layers.smartfilters
Full Name: aspose.psd.fileformats.psd.layers.smartfilters.SmartFilter
Aspose.PSD Version: 24.9.0
Properties
Name | Type | Access | Description |
---|---|---|---|
blend_mode | BlendMode | r/w | Gets or sets the blending mode. |
filter_id | int | r | Gets the smart filter type identifier. |
is_enabled | bool | r/w | Gets or sets the is enabled status of the smart filter. |
name | string | r | Gets the smart filter name. |
opacity | double | r/w | Gets or sets the opacity value of smart filter. |
source_descriptor | DescriptorStructure | r | The source descriptor structure with smart filter data. |
Methods
Name | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
raster_image | RasterImage | The 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:
Parameter | Type | Description |
---|---|---|
layer_with_mask | Layer | The layer with mask data. |
Method: clone()
clone()
Makes the memberwise clone of the current instance of the type.
Returns
Type | Description |
---|---|
SmartFilter | Returns the memberwise clone of the current instance of the type. |