---
title: "diffuse_constant method"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.builder/svgfediffuselightingelementbuilder/diffuse_constant/"
product: "Aspose.SVG for Python via .NET API References"
---


## diffuse_constant {#float}

Sets the 'diffuseConstant' attribute of the feDiffuseLighting element.


### Returns 


The current builder instance.


```python
def diffuse_constant(self, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| value | float | The constant used to determine the lighting contribution. |



### See Also
* module [`aspose.svg.builder`](../../)
* class [`SVGFEDiffuseLightingElementBuilder`](/svg/python-net/aspose.svg.builder/svgfediffuselightingelementbuilder)
