SVGFESpotLightElementBuilder class
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 | Constructs a new instance of SVGFESpotLightElementBuilder |
Methods
Method | Description |
---|---|
build | |
build | |
x | Sets the ‘x’ attribute of the feSpotLight element, representing the x-coordinate of the light source. |
y | Sets the ‘y’ attribute, representing the y-coordinate of the light source. |
z | Sets the ‘z’ attribute, representing the z-coordinate of the light source. |
points_at_x | Sets the ‘pointsAtX’ attribute, indicating the x-coordinate towards which the light is pointing. |
points_at_y | Sets the ‘pointsAtY’ attribute, indicating the y-coordinate towards which the light is pointing. |
points_at_z | Sets the ‘pointsAtZ’ attribute, indicating the z-coordinate towards which the light is pointing. |
specular_exponent | Sets the ‘specularExponent’ attribute, controlling the focus of the specular highlight. |
limiting_cone_angle | Sets the ’limitingConeAngle’ attribute, defining the limiting cone of the spotlight. |
build_element | Builds and returns an SVGElement instance based on the current configuration of the builder. |
attribute | Sets or updates an attribute on an SVG element. |
See Also
- module
aspose.svg.builder
- class
ISVGElementBuilder