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


## SVGFEDiffuseLightingElementBuilder class

Builder class for creating SVG 'feDiffuseLighting' elements, used in SVG filters to apply diffuse lighting effects.



The SVGFEDiffuseLightingElementBuilder type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/svg/python-net/aspose.svg.builder/svgfediffuselightingelementbuilder/__init__/#) | Constructs a new instance of SVGFEDiffuseLightingElementBuilder |


### Methods
| Method | Description |
| :- | :- |
| [build](/svg/python-net/aspose.svg.builder/svgfediffuselightingelementbuilder/build/#aspose.svg.dom.Document) |  |
| [build](/svg/python-net/aspose.svg.builder/svgfediffuselightingelementbuilder/build/#aspose.svg.filters.SVGFEDiffuseLightingElement) |  |
| [surface_scale](/svg/python-net/aspose.svg.builder/svgfediffuselightingelementbuilder/surface_scale/#float) | Sets the 'surfaceScale' attribute of the feDiffuseLighting element. |
| [diffuse_constant](/svg/python-net/aspose.svg.builder/svgfediffuselightingelementbuilder/diffuse_constant/#float) | Sets the 'diffuseConstant' attribute of the feDiffuseLighting element. |
| [kernel_unit_length](/svg/python-net/aspose.svg.builder/svgfediffuselightingelementbuilder/kernel_unit_length/#float-Nullable<double>) |  |
| [build_element](/svg/python-net/aspose.svg.builder/svgfediffuselightingelementbuilder/build_element/#aspose.svg.dom.Document) | Builds and returns an SVGElement instance based on the current configuration of the builder. |
| [attribute](/svg/python-net/aspose.svg.builder/svgfediffuselightingelementbuilder/attribute/#str-str) | Sets or updates an attribute on an SVG element. |



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