AddNoiseSmartFilter Class
Contents
[
Hide
]Summary: The AddNoise smart filter.
Module: aspose.psd.fileformats.psd.layers.smartfilters
Full Name: aspose.psd.fileformats.psd.layers.smartfilters.AddNoiseSmartFilter
Inheritance: SmartFilter
Aspose.PSD Version: 24.12.0
Constructors
| Name | Description |
|---|---|
| AddNoiseSmartFilter() | Initializes a new instance of the AddNoiseSmartFilter class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| FILTER_TYPE [static] | int | r | The identifier of current smart filter. |
| amount_noise | double | r/w | Gets or sets The noise value amount. |
| blend_mode | BlendMode | r/w | Gets or sets the blending mode. |
| distribution | NoiseDistribution | r/w | Gets or sets the distribution of noise filter. |
| 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. |
| is_monochromatic | bool | r/w | Gets or sets the value of monochromatic. |
| 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: AddNoiseSmartFilter()
AddNoiseSmartFilter()
Initializes a new instance of the AddNoiseSmartFilter class.
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. |