SharpenSmartFilter Class
Contents
[
Hide
]Summary: The Sharpen smart filter.
Module: aspose.psd.fileformats.psd.layers.smartfilters
Full Name: aspose.psd.fileformats.psd.layers.smartfilters.SharpenSmartFilter
Inheritance: SmartFilter
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
SharpenSmartFilter() | Initializes a new instance of the SharpenSmartFilter class. |
SharpenSmartFilter(source_descriptor) | Initializes a new instance of the SharpenSmartFilter class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
FILTER_TYPE [static] | int | r | The identifier of current smart filter. |
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. |
Constructor: SharpenSmartFilter()
SharpenSmartFilter()
Initializes a new instance of the SharpenSmartFilter class.
Constructor: SharpenSmartFilter(source_descriptor)
SharpenSmartFilter(source_descriptor)
Initializes a new instance of the SharpenSmartFilter class.
Parameters:
Parameter | Type | Description |
---|---|---|
source_descriptor | DescriptorStructure | The descriptor structure with smart filter info. |
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. |