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


## SVGFESpotLightElementBuilder class

Builder class for creating SVG 'feSpotLight' elements, which define a light source that emits light in a specific direction, like a spotlight.



The SVGFESpotLightElementBuilder type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/svg/python-net/aspose.svg.builder/svgfespotlightelementbuilder/__init__/#) | Constructs a new instance of SVGFESpotLightElementBuilder |


### Methods
| Method | Description |
| :- | :- |
| [build](/svg/python-net/aspose.svg.builder/svgfespotlightelementbuilder/build/#aspose.svg.dom.Document) |  |
| [build](/svg/python-net/aspose.svg.builder/svgfespotlightelementbuilder/build/#aspose.svg.filters.SVGFESpotLightElement) |  |
| [x](/svg/python-net/aspose.svg.builder/svgfespotlightelementbuilder/x/#float) | Sets the 'x' attribute of the feSpotLight element, representing the x-coordinate of the light source. |
| [y](/svg/python-net/aspose.svg.builder/svgfespotlightelementbuilder/y/#float) | Sets the 'y' attribute, representing the y-coordinate of the light source. |
| [z](/svg/python-net/aspose.svg.builder/svgfespotlightelementbuilder/z/#float) | Sets the 'z' attribute, representing the z-coordinate of the light source. |
| [points_at_x](/svg/python-net/aspose.svg.builder/svgfespotlightelementbuilder/points_at_x/#float) | Sets the 'pointsAtX' attribute, indicating the x-coordinate towards which the light is pointing. |
| [points_at_y](/svg/python-net/aspose.svg.builder/svgfespotlightelementbuilder/points_at_y/#float) | Sets the 'pointsAtY' attribute, indicating the y-coordinate towards which the light is pointing. |
| [points_at_z](/svg/python-net/aspose.svg.builder/svgfespotlightelementbuilder/points_at_z/#float) | Sets the 'pointsAtZ' attribute, indicating the z-coordinate towards which the light is pointing. |
| [specular_exponent](/svg/python-net/aspose.svg.builder/svgfespotlightelementbuilder/specular_exponent/#float) | Sets the 'specularExponent' attribute, controlling the focus of the specular highlight. |
| [limiting_cone_angle](/svg/python-net/aspose.svg.builder/svgfespotlightelementbuilder/limiting_cone_angle/#float) | Sets the 'limitingConeAngle' attribute, defining the limiting cone of the spotlight. |
| [build_element](/svg/python-net/aspose.svg.builder/svgfespotlightelementbuilder/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/svgfespotlightelementbuilder/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)
