SVGFEBaseLightingElementBuilderTElementTBuilder Class
SVGFEBaseLightingElementBuilder<TElement,TBuilder> class
Abstract base class for builders of SVG filter effect lighting elements.
public abstract class SVGFEBaseLightingElementBuilder<TElement, TBuilder> :
SVGElementBuilder<TElement>, ICoreAttributeSetter, IDescriptiveElementBuilder,
IFilterPrimitiveInAttributeSetter, IPresentationAttributeSetter
where TElement : SVGElement
where TBuilder : SVGFEBaseLightingElementBuilder
Parameter | Description |
---|
TElement | The type of SVG element being built. |
TBuilder | The type of the builder itself. |
Properties
Methods
Name | Description |
---|
AddScript(Action<SVGScriptElementBuilder>) | Adds a script configuration to the element. |
Attribute(string, string) | |
override Build(Document) | Builds the SVG element, applying the light source configuration if specified. |
virtual Build(TElement) | |
BuildElement(Document) | |
WithFeDistantLight(Action<SVGFEDistantLightElementBuilder>) | Configures a distant light source for the filter effect. |
WithFePointLight(Action<SVGFEPointLightElementBuilder>) | Configures a point light source for the filter effect. |
WithFeSpotLight(Action<SVGFESpotLightElementBuilder>) | Configures a spot light source for the filter effect. |
See Also