SVGBuilderExtensions Class

SVGBuilderExtensions class

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

Provides extension methods for building and configuring SVG (Scalable Vector Graphics) elements. This class contains a collection of static methods that extend various builder interfaces, allowing for fluent and convenient construction of SVG elements and their attributes.

public static class SVGBuilderExtensions

Methods

NameDescription
static Accumulate<TBuilder>(this TBuilder, Accumulate)Sets the ‘accumulate’ attribute, specifying how repeated animations build upon each other.
static AddA<TBuilder>(this TBuilder, Action<SVGAElementBuilder>)Adds an ‘a’ (hyperlink) element configuration to the builder.
static AddAnimate<TBuilder>(this TBuilder, Action<SVGAnimateElementBuilder>)Adds an ‘animate’ element configuration to the builder.
static AddAnimateMotion<TBuilder>(this TBuilder, Action<SVGAnimateMotionElementBuilder>)Adds an ‘animateMotion’ element configuration to the builder.
static AddAnimateTransform<TBuilder>(this TBuilder, Action<SVGAnimateTransformElementBuilder>)Adds an ‘animateTransform’ element configuration to the builder.
static AddBuilder<TBuilder,TElementBuilder>(this TBuilder, TElementBuilder)Adds an existing SVG element builder to the current SVG element builder. This method is used to include a predefined SVG element builder into the current builder.
static AddCircle<TBuilder>(this TBuilder, Action<SVGCircleElementBuilder>)Adds a ‘circle’ element configuration to the builder.
static AddCircle<TBuilder>(this TBuilder, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGCircleElementBuilder>)Adds a ‘circle’ element with specified center, radius, and styles to the SVG builder.
static AddClipPath<TBuilder>(this TBuilder, Action<SVGClipPathElementBuilder>)Adds a ‘clipPath’ element configuration to the builder.
static AddContent<TBuilder>(this TBuilder, string)Adds text content to the SVG element.
static AddDefs<TBuilder>(this TBuilder, Action<SVGDefsElementBuilder>)Adds a ‘defs’ (definitions) element configuration to the builder.
static AddDesc<TBuilder>(this TBuilder, Action<SVGDescElementBuilder>)Adds a ‘desc’ element configuration to the builder. The ‘desc’ element is used to provide a description for SVG content.
static AddEllipse<TBuilder>(this TBuilder, Action<SVGEllipseElementBuilder>)Adds an ’ellipse’ element configuration to the builder.
static AddEllipse<TBuilder>(this TBuilder, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGEllipseElementBuilder>)Adds an ’ellipse’ element to the SVG builder, specifying its center, radii, and styles.
static AddFeBlend<TBuilder>(this TBuilder, Action<SVGFEBlendElementBuilder>)Adds an ‘feBlend’ element configuration to the builder. This element defines a blend effect between two graphics.
static AddFeBlend<TBuilder>(this TBuilder, BlendMode?, OneOf<string, FilterInput>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEBlendElementBuilder>)Adds an ‘feBlend’ element to the SVG builder, specifying the blend mode and various other properties for the filter effect.
static AddFeColorMatrix<TBuilder>(this TBuilder, Action<SVGFEColorMatrixElementBuilder>)Adds an ‘feColorMatrix’ element configuration to the builder. This element applies a matrix transformation to the color and alpha values of every pixel.
static AddFeColorMatrix<TBuilder>(this TBuilder, ColorMatrixOperation, double[], OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEColorMatrixElementBuilder>)Adds an ‘feColorMatrix’ element to the SVG builder, specifying the type of color matrix operation and various other properties for the filter effect.
static AddFeComponentTransfer<TBuilder>(this TBuilder, Action<SVGFEComponentTransferElementBuilder>)Adds an ‘feComponentTransfer’ element configuration to the builder. This element performs component-wise remapping of data for color channels.
static AddFeComponentTransfer<TBuilder>(this TBuilder, Action<SVGFEFuncAElementBuilder>, Action<SVGFEFuncRElementBuilder>, Action<SVGFEFuncGElementBuilder>, Action<SVGFEFuncBElementBuilder>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEComponentTransferElementBuilder>)Adds an ‘feComponentTransfer’ element to the SVG builder, allowing for component-wise remapping of data for color channels.
static AddFeComposite<TBuilder>(this TBuilder, Action<SVGFECompositeElementBuilder>)Adds an ‘feComposite’ element configuration to the builder. This element performs a bitwise combination of two input graphics.
static AddFeComposite<TBuilder>(this TBuilder, CompositeOperator?, double?, double?, double?, double?, OneOf<string, FilterInput>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFECompositeElementBuilder>)Adds an ‘feComposite’ element to the SVG builder, specifying the composite operation and various other properties for combining input images.
static AddFeConvolveMatrix<TBuilder>(this TBuilder, Action<SVGFEConvolveMatrixElementBuilder>)Adds an ‘feConvolveMatrix’ element configuration to the builder. This element applies a matrix convolution filter effect.
static AddFeConvolveMatrix<TBuilder>(this TBuilder, double[], double?, double?, int?, int?, EdgeMode?, bool?, OneOf<int, (int, int)>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEConvolveMatrixElementBuilder>)Adds an ‘feConvolveMatrix’ element to the SVG builder, applying a matrix convolution filter effect.
static AddFeDiffuseLighting<TBuilder>(this TBuilder, Action<SVGFEDiffuseLightingElementBuilder>)Adds an ‘feDiffuseLighting’ element configuration to the builder. This element provides a lighting effect on an image.
static AddFeDiffuseLighting<TBuilder>(this TBuilder, Action<SVGFEDistantLightElementBuilder>, Color?, double?, double?, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEDiffuseLightingElementBuilder>)Adds an ‘feDiffuseLighting’ element to the SVG builder, applying a diffuse lighting effect using a specified light source.
static AddFeDiffuseLighting<TBuilder>(this TBuilder, Action<SVGFEPointLightElementBuilder>, Color?, double?, double?, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEDiffuseLightingElementBuilder>)Adds an ‘feDiffuseLighting’ element to the SVG builder, applying a diffuse lighting effect using a specified light source.
static AddFeDiffuseLighting<TBuilder>(this TBuilder, Action<SVGFESpotLightElementBuilder>, Color?, double?, double?, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEDiffuseLightingElementBuilder>)Adds an ‘feDiffuseLighting’ element to the SVG builder, applying a diffuse lighting effect using a specified light source.
static AddFeDisplacementMap<TBuilder>(this TBuilder, Action<SVGFEDisplacementMapElementBuilder>)Adds an ‘feDisplacementMap’ element configuration to the builder. This element displaces an image by a specified vector map.
static AddFeDisplacementMap<TBuilder>(this TBuilder, double?, ChannelSelector?, ChannelSelector?, OneOf<string, FilterInput>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEDisplacementMapElementBuilder>)Adds an ‘feDisplacementMap’ element to the SVG builder, creating an effect that distorts an image based on the color data from a second source.
static AddFeDropShadow<TBuilder>(this TBuilder, Action<SVGFEDropShadowElementBuilder>)Adds an ‘feDropShadow’ element configuration to the builder. This element creates a drop shadow effect.
static AddFeDropShadow<TBuilder>(this TBuilder, double?, double?, OneOf<double, (double, double)>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEDropShadowElementBuilder>)Adds an ‘feDropShadow’ element to the SVG builder, creating a drop shadow effect for the input graphic.
static AddFeFlood<TBuilder>(this TBuilder, Action<SVGFEFloodElementBuilder>)Adds an ‘feFlood’ element configuration to the builder. This element fills the filter subregion with a specified color.
static AddFeFlood<TBuilder>(this TBuilder, Color?, double?, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEFloodElementBuilder>)Adds an ‘feFlood’ element to the SVG builder, creating a uniform flood color effect over the entire filter subregion.
static AddFeGaussianBlur<TBuilder>(this TBuilder, Action<SVGFEGaussianBlurElementBuilder>)Adds an ‘feGaussianBlur’ element configuration to the builder. This element applies a Gaussian blur to the input image.
static AddFeGaussianBlur<TBuilder>(this TBuilder, OneOf<double, (double, double)>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEGaussianBlurElementBuilder>)Adds an ‘feGaussianBlur’ element to the SVG builder, applying a Gaussian blur effect to the input image.
static AddFeImage<TBuilder>(this TBuilder, Action<SVGFEImageElementBuilder>)Adds an ‘feImage’ element configuration to the builder. This element fetches an external image and includes it in the filter pipeline.
static AddFeImage<TBuilder>(this TBuilder, string, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEImageElementBuilder>)Adds an ‘feImage’ element to the SVG builder, incorporating an external image into the filter effect.
static AddFeMerge<TBuilder>(this TBuilder, Action<SVGFEMergeElementBuilder>)Adds an ‘feMerge’ element configuration to the builder. This element allows filter effects to be applied concurrently instead of sequentially.
static AddFeMorphology<TBuilder>(this TBuilder, Action<SVGFEMorphologyElementBuilder>)Adds an ‘feMorphology’ element configuration to the builder. This element is used to apply morphological operations like dilation or erosion on the input image.
static AddFeMorphology<TBuilder>(this TBuilder, MorphologyOperator?, OneOf<double, (double, double)>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEMorphologyElementBuilder>)Adds an ‘feMorphology’ element to the SVG builder, applying a morphological operation to the input image.
static AddFeOffset<TBuilder>(this TBuilder, Action<SVGFEOffsetElementBuilder>)Adds an ‘feOffset’ element configuration to the builder. This element offsets the input image by a specified vector.
static AddFeOffset<TBuilder>(this TBuilder, double?, double?, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEOffsetElementBuilder>)Adds an ‘feOffset’ element to the SVG builder, creating an offset effect by shifting the input image by a specified vector.
static AddFeSpecularLighting<TBuilder>(this TBuilder, Action<SVGFESpecularLightingElementBuilder>)Adds an ‘feSpecularLighting’ element configuration to the builder. This element applies a lighting effect to the image, simulating specular reflection.
static AddFeSpecularLighting<TBuilder>(this TBuilder, Action<SVGFEDistantLightElementBuilder>, Color?, double?, double?, double?, OneOf<double, (double, double)>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFESpecularLightingElementBuilder>)Adds an ‘feSpecularLighting’ element to the SVG builder, applying a specular lighting effect using a specified light source.
static AddFeSpecularLighting<TBuilder>(this TBuilder, Action<SVGFEPointLightElementBuilder>, Color?, double?, double?, double?, OneOf<double, (double, double)>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFESpecularLightingElementBuilder>)Adds an ‘feSpecularLighting’ element to the SVG builder, applying a specular lighting effect using a specified light source.
static AddFeSpecularLighting<TBuilder>(this TBuilder, Action<SVGFESpotLightElementBuilder>, Color?, double?, double?, double?, OneOf<double, (double, double)>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFESpecularLightingElementBuilder>)Adds an ‘feSpecularLighting’ element to the SVG builder, applying a specular lighting effect using a specified light source.
static AddFeTile<TBuilder>(this TBuilder, Action<SVGFETileElementBuilder>)Adds an ‘feTile’ element configuration to the builder. This element fills a rectangle with the repeated, tiled pattern of an input image.
static AddFeTile<TBuilder>(this TBuilder, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFETileElementBuilder>)Adds an ‘feTile’ element to the SVG builder, creating a pattern of tiles by replicating the input image.
static AddFeTurbulence<TBuilder>(this TBuilder, Action<SVGFETurbulenceElementBuilder>)Adds an ‘feTurbulence’ element configuration to the builder. This element creates an image using Perlin noise, useful for creating textures like clouds or marble.
static AddFeTurbulence<TBuilder>(this TBuilder, OneOf<double, (double, double)>, int?, double?, StitchTiles?, TurbulenceType?, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFETurbulenceElementBuilder>)Adds an ‘feTurbulence’ element to the SVG builder, creating a turbulence effect, such as clouds or marble, using Perlin noise.
static AddFilter<TBuilder>(this TBuilder, Action<SVGFilterElementBuilder>)Adds a ‘filter’ element configuration to the builder.
static AddFilter<TBuilder>(this TBuilder, CoordinateUnits?, CoordinateUnits?, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFilterElementBuilder>)Adds a ‘filter’ element to the SVG builder, defining a filter effect that can be applied to SVG elements.
static AddForeignObject<TBuilder>(this TBuilder, Action<SVGForeignObjectElementBuilder>)Adds a ‘foreignObject’ element configuration to the builder.
static AddG<TBuilder>(this TBuilder, Action<SVGGElementBuilder>)Adds a ‘g’ (group) element configuration to the builder.
static AddImage<TBuilder>(this TBuilder, Action<SVGImageElementBuilder>)Adds an ‘image’ element configuration to the builder.
static AddImage<TBuilder>(this TBuilder, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, string, Action<SVGImageElementBuilder>)Adds an ‘image’ element to the SVG builder, embedding an external image into the SVG document.
static Additive<TBuilder>(this TBuilder, Additive)Sets the ‘additive’ attribute, specifying how the values of the animation are added to the base value.
static AddLine<TBuilder>(this TBuilder, Action<SVGLineElementBuilder>)Adds a ’line’ element configuration to the builder.
static AddLine<TBuilder>(this TBuilder, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGLineElementBuilder>)Adds a ’line’ element with specified start and end points, and styles to the SVG builder.
static AddLinearGradient<TBuilder>(this TBuilder, Action<SVGLinearGradientElementBuilder>)Adds a ’linearGradient’ element configuration to the builder.
static AddLinearGradient<TBuilder>(this TBuilder, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, CoordinateUnits?, SpreadMethod?, string, string, Action<SVGLinearGradientElementBuilder>)Adds a ’linearGradient’ element to the SVG builder, specifying its start and end positions, along with other gradient properties.
static AddMarker<TBuilder>(this TBuilder, Action<SVGMarkerElementBuilder>)Adds a ‘marker’ element configuration to the builder.
static AddMask<TBuilder>(this TBuilder, Action<SVGMaskElementBuilder>)Adds a ‘mask’ element configuration to the builder.
static AddMetadata<TBuilder,TElement>(this TBuilder, Action<SVGMetadataElementBuilder>)Adds a ‘metadata’ element configuration to the builder. The ‘metadata’ element is used to add metadata to SVG content.
static AddPath<TBuilder>(this TBuilder, Action<SVGPathElementBuilder>)Adds a ‘path’ element configuration to the builder.
static AddPath<TBuilder>(this TBuilder, Action<PathBuilder>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGPathElementBuilder>)Overload of AddPath that takes an action to configure a PathBuilder directly.
static AddPath<TBuilder>(this TBuilder, OneOf<string, Action<PathBuilder>>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGPathElementBuilder>)Adds a ‘path’ element to the SVG builder, specifying its path data and styles.
static AddPattern<TBuilder>(this TBuilder, Action<SVGPatternElementBuilder>)Adds a ‘pattern’ element configuration to the builder.
static AddPattern<TBuilder>(this TBuilder, CoordinateUnits?, CoordinateUnits?, string, string, Action<SVGPatternElementBuilder>)Adds a ‘pattern’ element to the SVG builder, specifying the coordinate system and units for the pattern’s content.
static AddPolygon<TBuilder>(this TBuilder, Action<SVGPolygonElementBuilder>)Adds a ‘polygon’ element configuration to the builder.
static AddPolygon<TBuilder>(this TBuilder, double[], OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGPolygonElementBuilder>)Adds a ‘polygon’ element to the SVG builder, specifying its vertices, and styles.
static AddPolyline<TBuilder>(this TBuilder, Action<SVGPolylineElementBuilder>)Adds a ‘polyline’ element configuration to the builder.
static AddPolyline<TBuilder>(this TBuilder, double[], OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGPolylineElementBuilder>)Adds a ‘polyline’ element to the SVG builder, specifying its vertices, and styles.
static AddRadialGradient<TBuilder>(this TBuilder, Action<SVGRadialGradientElementBuilder>)Adds a ‘radialGradient’ element configuration to the builder.
static AddRadialGradient<TBuilder>(this TBuilder, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, CoordinateUnits?, SpreadMethod?, string, string, Action<SVGRadialGradientElementBuilder>)Adds a ‘radialGradient’ element to the SVG builder, specifying its center, radius, and focal points, along with other gradient properties.
static AddRect<TBuilder>(this TBuilder, Action<SVGRectElementBuilder>)Adds a ‘rect’ element configuration to the builder.
static AddRect<TBuilder>(this TBuilder, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGRectElementBuilder>)Adds a ‘rect’ (rectangle) element with specified dimensions and styles to the SVG builder.
static AddScript<TBuilder>(this TBuilder, Action<SVGScriptElementBuilder>)Adds a ‘script’ element configuration to the builder.
static AddSet<TBuilder>(this TBuilder, Action<SVGSetElementBuilder>)Adds a ‘set’ element configuration to the builder.
static AddStop<TBuilder>(this TBuilder, Action<SVGStopElementBuilder>)Adds a ‘stop’ element configuration to the builder for defining gradient stops.
static AddStop<TBuilder>(this TBuilder, Color?, double?, OneOf<double, (double, StopUnitType)>, string, Action<SVGStopElementBuilder>)Adds a ‘stop’ element to the gradient in the SVG builder, specifying color and opacity at a particular offset.
static AddStyle<TBuilder>(this TBuilder, Action<SVGStyleElementBuilder>)Adds a ‘style’ element configuration to the builder.
static AddSvg<TBuilder>(this TBuilder, Action<SVGSVGElementBuilder>)Adds an ‘svg’ (scalable vector graphics) element configuration to the builder.
static AddSwitch<TBuilder>(this TBuilder, Action<SVGSwitchElementBuilder>)Adds a ‘switch’ element configuration to the builder.
static AddSymbol<TBuilder>(this TBuilder, Action<SVGSymbolElementBuilder>)Adds a ‘symbol’ element configuration to the builder.
static AddText<TBuilder>(this TBuilder, Action<SVGTextElementBuilder>)Adds a ’text’ element configuration to the builder.
static AddText<TBuilder>(this TBuilder, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, FontStyle?, string, FontWeight?, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGTextElementBuilder>)Adds a ’text’ element with specified content and attributes to the SVG builder.
static AddTitle<TBuilder>(this TBuilder, Action<SVGTitleElementBuilder>)Adds a ’title’ element configuration to the builder. The ’title’ element is used to provide a title for SVG content.
static AddUse<TBuilder>(this TBuilder, Action<SVGUseElementBuilder>)Adds a ‘use’ element configuration to the builder.
static AddUse<TBuilder>(this TBuilder, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGUseElementBuilder>)Adds a ‘use’ element to the SVG builder, allowing for the reuse of an existing element defined elsewhere in the SVG.
static AddView<TBuilder>(this TBuilder, Action<SVGViewElementBuilder>)Adds a ‘view’ element configuration to the builder.
static AlignmentBaseline<TBuilder>(this TBuilder, AlignmentBaseline)Sets the ‘alignment-baseline’ attribute for an SVG element.
static Amplitude<TBuilder>(this TBuilder, double)Sets the ‘amplitude’ attribute for a component transfer function element.
static AttributeName<TBuilder>(this TBuilder, string)Sets the ‘attributeName’ attribute, specifying the name of the CSS property or attribute to be animated.
static BaselineShift<TBuilder>(this TBuilder, BaseLineShift)Sets the ‘baseline-shift’ attribute for an SVG element using a predefined value.
static BaselineShift<TBuilder>(this TBuilder, double, LengthType)Sets the ‘baseline-shift’ attribute for an SVG element using a numeric value.
static Begin<TBuilder>(this TBuilder, Action<TimingValueBuilder>)Sets the ‘begin’ attribute, defining when the animation should start.
static By<TBuilder>(this TBuilder, double, LengthType)Sets the ‘by’ attribute, defining the relative offset value for the animation with a specified length type.
static CalcMode<TBuilder>(this TBuilder, CalcMode)Sets the ‘calcMode’ attribute, defining the calculation mode for the animation.
static Class<TBuilder>(this TBuilder, params string[])Sets the ‘class’ attribute, assigning one or more class names to the SVG element.
static ClipPath<TBuilder>(this TBuilder, Action<ClipPathBuilder>)Sets the ‘clip-path’ attribute for an SVG element.
static ClipRule<TBuilder>(this TBuilder, ClipRule)Sets the ‘clip-rule’ attribute for an SVG element.
static Color<TBuilder>(this TBuilder, Action<ColorBuilder>)Sets the ‘color’ attribute for an SVG element using a custom configuration.
static Color<TBuilder>(this TBuilder, Color)Sets the ‘color’ attribute for an SVG element using a color value.
static ColorInterpolation<TBuilder>(this TBuilder, ColorInterpolation)Sets the ‘color-interpolation’ attribute for an SVG element.
static ColorInterpolationFilters<TBuilder>(this TBuilder, ColorInterpolation)Sets the ‘color-interpolation-filters’ attribute for an SVG element.
static ColorProfile<TBuilder>(this TBuilder, string)Sets the ‘color-profile’ attribute for an SVG element.
static ColorRendering<TBuilder>(this TBuilder, ColorRendering)Sets the ‘color-rendering’ attribute for an SVG element using a predefined enum value.
static Cursor<TBuilder>(this TBuilder, Cursor)Sets the ‘cursor’ attribute for an SVG element using a predefined enum value.
static Direction<TBuilder>(this TBuilder, TextDirection)Sets the ‘direction’ attribute for an SVG element using a predefined enum value.
static Display<TBuilder>(this TBuilder, DisplayType)Sets the ‘display’ attribute for an SVG element using a predefined enum value.
static DominantBaseline<TBuilder>(this TBuilder, DominantBaseline)Sets the ‘dominant-baseline’ attribute for an SVG element using a predefined enum value.
static Dur<TBuilder>(this TBuilder, Dur)Sets the ‘dur’ attribute, specifying the predefined duration type of the animation.
static Dur<TBuilder>(this TBuilder, TimeSpan)Sets the ‘dur’ attribute, specifying the duration of the animation.
static Dx<TBuilder>(this TBuilder, double, LengthType)Sets a single horizontal adjustment value for the text content.
static Dx<TBuilder>(this TBuilder, LengthType, params double[])Sets the ‘dx’ attribute to adjust the horizontal position of each character in the text.
static Dy<TBuilder>(this TBuilder, double, LengthType)Sets a single vertical adjustment value for the text content.
static Dy<TBuilder>(this TBuilder, double[], LengthType)Sets multiple vertical adjustment values for the text content.
static End<TBuilder>(this TBuilder, Action<TimingValueBuilder>)Sets the ’end’ attribute, defining when the animation should end.
static Exponent<TBuilder>(this TBuilder, double)Sets the ’exponent’ attribute for a component transfer function element.
static Fill<TBuilder>(this TBuilder, Action<PaintBuilder>)Sets the ‘fill’ attribute for an SVG element using a custom configuration.
static Fill<TBuilder>(this TBuilder, AnimationFill)Sets the ‘fill’ attribute, defining how the animation should apply styles outside its active duration.
static Fill<TBuilder>(this TBuilder, Color)Sets the ‘fill’ attribute for an SVG element using a color.
static Fill<TBuilder>(this TBuilder, Paint)Sets the ‘fill’ attribute for an SVG element using a predefined Paint enum value.
static FillOpacity<TBuilder>(this TBuilder, double)Sets the ‘fill-opacity’ attribute for an SVG element. Value must be between 0.0 (fully transparent) and 1.0 (fully opaque).
static FillRule<TBuilder>(this TBuilder, FillRule)Sets the ‘fill-rule’ attribute for an SVG element using a predefined FillRule enum value.
static Filter<TBuilder>(this TBuilder, Action<FilterValueListBuilder>)Sets the ‘filter’ attribute for an SVG element using a custom configuration.
static FloodColor<TBuilder>(this TBuilder, Action<ColorBuilder>)Sets the ‘flood-color’ attribute for an SVG element using a custom color configuration.
static FloodColor<TBuilder>(this TBuilder, Color)Sets the ‘flood-color’ attribute for an SVG element using a System.Drawing color.
static FloodOpacity<TBuilder>(this TBuilder, double)Sets the ‘flood-opacity’ attribute for an SVG element. Value must be between 0.0 (fully transparent) and 1.0 (fully opaque).
static FontFamily<TBuilder>(this TBuilder, string)Sets the ‘font-family’ attribute for an SVG element.
static FontKerning<TBuilder>(this TBuilder, Kerning)Sets the ‘font-kerning’ attribute for an SVG element using a predefined kerning value.
static FontKerning<TBuilder>(this TBuilder, double, LengthType)Sets the ‘font-kerning’ attribute for an SVG element using a numeric value and a specific length type.
static FontSize<TBuilder>(this TBuilder, FontSize)Sets the ‘font-size’ attribute for an SVG element using a predefined font size value.
static FontSize<TBuilder>(this TBuilder, double, LengthType)Sets the ‘font-size’ attribute for an SVG element using a numeric value and a specific length type.
static FontSizeAdjust<TBuilder>(this TBuilder, AdjustSize)Sets the ‘font-size-adjust’ attribute for an SVG element using a predefined adjust size value.
static FontSizeAdjust<TBuilder>(this TBuilder, double)Sets the ‘font-size-adjust’ attribute for an SVG element.
static FontStretch<TBuilder>(this TBuilder, FontStretch)Sets the ‘font-stretch’ attribute for an SVG element using a predefined font stretch value.
static FontStyle<TBuilder>(this TBuilder, FontStyle)Sets the ‘font-style’ attribute for an SVG element using a predefined font style value.
static FontVariant<TBuilder>(this TBuilder, string)Sets the ‘font-variant’ attribute for an SVG element.
static FontWeight<TBuilder>(this TBuilder, FontWeight)Sets the ‘font-weight’ attribute for an SVG element using a predefined font weight value.
static FormatSvgLengths(double[], LengthType)Formats an array of double values into a string representation of SVG lengths.
static From<TBuilder>(this TBuilder, double, LengthType)Sets the ‘from’ attribute, defining the starting value of the animation with a specified length type.
static GlyphOrientationVertical<TBuilder>(this TBuilder, TextOrientation)Sets the ‘glyph-orientation-vertical’ attribute for an SVG element, specifying the orientation of glyphs.
static GradientTransform<TBuilder>(this TBuilder, Func<TransformBuilder, TransformBuilder>)Sets the ‘gradientTransform’ attribute for a gradient element.
static GradientUnits<TBuilder>(this TBuilder, CoordinateUnits)Sets the ‘gradientUnits’ attribute for a gradient element.
static Height<TBuilder>(this TBuilder, double, LengthType)Sets the ‘height’ attribute for an SVG element.
static Href<TBuilder>(this TBuilder, string)Sets the ‘href’ attribute for an SVG element, specifying a URL to link to.
static Id<TBuilder>(this TBuilder, string)Sets the ‘id’ attribute, assigning a unique identifier to the SVG element.
static ImageRendering<TBuilder>(this TBuilder, ImageRendering)Sets the ‘image-rendering’ attribute for an SVG element, specifying the rendering quality of images.
static In<TBuilder>(this TBuilder, FilterInput)Sets the ‘in’ attribute for an SVG filter primitive using a predefined input source.
static In<TBuilder>(this TBuilder, string)Sets the ‘in’ attribute for an SVG filter primitive.
static Intercept<TBuilder>(this TBuilder, double)Sets the ‘intercept’ attribute for a component transfer function element.
static KeySplines<TBuilder>(this TBuilder, Action<AnimationSplineBuilder>)Sets the ‘keySplines’ attribute, specifying the control points for the pacing of the animation.
static KeyTimes<TBuilder>(this TBuilder, params double[])Sets the ‘keyTimes’ attribute, defining the times at which the key values are applied.
static Lang<TBuilder>(this TBuilder, string)Sets the ’lang’ attribute, specifying the language of the element’s content.
static LengthAdjust<TBuilder>(this TBuilder, LengthAdjust)Sets the method of length adjustment for the text content.
static LetterSpacing<TBuilder>(this TBuilder, Spacing)Sets the ’letter-spacing’ attribute for an SVG element using a predefined spacing value.
static LetterSpacing<TBuilder>(this TBuilder, double, LengthType)Sets the ’letter-spacing’ attribute for an SVG element using a numeric value and a specific length type.
static LightingColor<TBuilder>(this TBuilder, Action<ColorBuilder>)Sets the ’lighting-color’ attribute for an SVG element using a custom color configuration.
static LightingColor<TBuilder>(this TBuilder, Color)Sets the ’lighting-color’ attribute for an SVG element using a specified color value.
static MarkerEnd<TBuilder>(this TBuilder, MarkerPos)Sets the ‘marker-end’ attribute for an SVG element using a predefined marker position.
static MarkerEnd<TBuilder>(this TBuilder, string)Sets the ‘marker-end’ attribute for an SVG element, specifying the marker at the end of a path.
static MarkerMid<TBuilder>(this TBuilder, MarkerPos)Sets the ‘marker-mid’ attribute for an SVG element using a predefined marker position.
static MarkerMid<TBuilder>(this TBuilder, string)Sets the ‘marker-mid’ attribute for an SVG element, specifying the marker at the mid points of a path.
static MarkerStart<TBuilder>(this TBuilder, MarkerPos)Sets the ‘marker-start’ attribute for an SVG element using a predefined marker position.
static MarkerStart<TBuilder>(this TBuilder, string)Sets the ‘marker-start’ attribute for an SVG element, specifying the marker at the start of a path.
static Mask<TBuilder>(this TBuilder, Action<MaskBuilder>)Sets the ‘mask’ attribute for an SVG element using a custom mask configuration.
static Max<TBuilder>(this TBuilder, Media)Sets the ‘max’ attribute, specifying the predefined maximum duration condition for the animation.
static Max<TBuilder>(this TBuilder, TimeSpan)Sets the ‘max’ attribute, specifying the maximum duration of the animation.
static Min<TBuilder>(this TBuilder, Media)Sets the ‘min’ attribute, specifying the minimum duration condition for the animation based on media.
static Min<TBuilder>(this TBuilder, TimeSpan)Sets the ‘min’ attribute, specifying the minimum duration of the animation.
static Offset<TBuilder>(this TBuilder, double)Sets the ‘offset’ attribute for a component transfer function element.
static OnAbort<TBuilder>(this TBuilder, string)Sets the ‘onabort’ event attribute, defining a script to run when the loading of an SVG document is aborted.
static OnBegin<TBuilder>(this TBuilder, string)Sets the ‘onbegin’ attribute, defining a script to be run at the start of the animation.
static OnCancel<TBuilder>(this TBuilder, string)Sets the ‘oncancel’ event attribute for handling user cancellation actions.
static OnCanPlay<TBuilder>(this TBuilder, string)Sets the ‘oncanplay’ event attribute for handling media playability checks.
static OnCanPlayThrough<TBuilder>(this TBuilder, string)Sets the ‘oncanplaythrough’ event attribute for handling media playability without interruption.
static OnChange<TBuilder>(this TBuilder, string)Sets the ‘onchange’ event attribute for handling changes in the element’s value.
static OnClick<TBuilder>(this TBuilder, string)Sets the ‘onclick’ event attribute for handling click events on the element.
static OnClose<TBuilder>(this TBuilder, string)Sets the ‘onclose’ event attribute for handling close actions on dialog elements.
static OnCopy<TBuilder>(this TBuilder, string)Sets the ‘oncopy’ event attribute, defining a script to run when content is copied from the SVG element.
static OnCueChange<TBuilder>(this TBuilder, string)Sets the ‘oncuechange’ event attribute for handling changes in the text track’s active cues.
static OnCut<TBuilder>(this TBuilder, string)Sets the ‘oncut’ event attribute, defining a script to run when content is cut from the SVG element.
static OnDblClick<TBuilder>(this TBuilder, string)Sets the ‘ondblclick’ event attribute for handling double-click events on the element.
static OnDrag<TBuilder>(this TBuilder, string)Sets the ‘ondrag’ event attribute for handling drag actions on the element.
static OnDragEnd<TBuilder>(this TBuilder, string)Sets the ‘ondragend’ event attribute for handling the end of a drag operation.
static OnDragEnter<TBuilder>(this TBuilder, string)Sets the ‘ondragenter’ event attribute for handling the entry of a dragged item into a valid drop target.
static OnDragExit<TBuilder>(this TBuilder, string)Sets the ‘ondragexit’ event attribute for handling the exit of a dragged item from a valid drop target.
static OnDragLeave<TBuilder>(this TBuilder, string)Sets the ‘ondragleave’ event attribute for handling the leaving of a dragged item from a valid drop target.
static OnDragOver<TBuilder>(this TBuilder, string)Sets the ‘ondragover’ event attribute for handling the dragging of an item over a valid drop target.
static OnDragStart<TBuilder>(this TBuilder, string)Sets the ‘ondragstart’ event attribute for handling the start of a drag operation.
static OnDrop<TBuilder>(this TBuilder, string)Sets the ‘ondrop’ event attribute for handling the dropping of an item onto a valid drop target.
static OnDurationChange<TBuilder>(this TBuilder, string)Sets the ‘ondurationchange’ event attribute for handling changes in the duration of the media.
static OnEmptied<TBuilder>(this TBuilder, string)Sets the ‘onemptied’ event attribute for handling the emptying of the media element’s source.
static OnEnd<TBuilder>(this TBuilder, string)Sets the ‘onend’ attribute, defining a script to be run at the end of the animation.
static OnEnded<TBuilder>(this TBuilder, string)Sets the ‘onended’ event attribute for handling the end of media playback.
static OnError<TBuilder>(this TBuilder, string)Sets the ‘onerror’ event attribute for handling error events on the element.
static OnFocus<TBuilder>(this TBuilder, string)Sets the ‘onfocus’ event attribute for handling focus events on the element.
static OnFocusIn<TBuilder>(this TBuilder, string)Sets the ‘onfocusin’ event attribute for handling focus-in events on the element.
static OnFocusOut<TBuilder>(this TBuilder, string)Sets the ‘onfocusout’ event attribute for handling focus-out events on the element.
static OnInput<TBuilder>(this TBuilder, string)Sets the ‘oninput’ event attribute for handling input events on the element.
static OnInvalid<TBuilder>(this TBuilder, string)Sets the ‘oninvalid’ event attribute for handling invalid events on form elements.
static OnKeyDown<TBuilder>(this TBuilder, string)Sets the ‘onkeydown’ event attribute for handling keydown events on the element.
static OnKeyPress<TBuilder>(this TBuilder, string)Sets the ‘onkeypress’ event attribute for handling keypress events on the element.
static OnKeyUp<TBuilder>(this TBuilder, string)Sets the ‘onkeyup’ event attribute for handling keyup events on the element.
static OnLoad<TBuilder>(this TBuilder, string)Sets the ‘onload’ event attribute for handling load events on the element.
static OnLoadedData<TBuilder>(this TBuilder, string)Sets the ‘onloadeddata’ event attribute for handling events when media data is loaded.
static OnLoadedMetadata<TBuilder>(this TBuilder, string)Sets the ‘onloadedmetadata’ event attribute for handling events when media metadata is loaded.
static OnLoadStart<TBuilder>(this TBuilder, string)Sets the ‘onloadstart’ event attribute for handling events at the start of a media load operation.
static OnMouseDown<TBuilder>(this TBuilder, string)Sets the ‘onmousedown’ event attribute for handling mouse down events on the element.
static OnMouseEnter<TBuilder>(this TBuilder, string)Sets the ‘onmouseenter’ event attribute for handling mouse enter events on the element.
static OnMouseLeave<TBuilder>(this TBuilder, string)Sets the ‘onmouseleave’ event attribute for handling mouse leave events on the element.
static OnMouseMove<TBuilder>(this TBuilder, string)Sets the ‘onmousemove’ event attribute for handling mouse move events on the element.
static OnMouseOut<TBuilder>(this TBuilder, string)Sets the ‘onmouseout’ event attribute for handling mouse out events on the element.
static OnMouseOver<TBuilder>(this TBuilder, string)Sets the ‘onmouseover’ event attribute for handling mouse over events on the element.
static OnMouseUp<TBuilder>(this TBuilder, string)Sets the ‘onmouseup’ event attribute for handling mouse up events on the element.
static OnMouseWheel<TBuilder>(this TBuilder, string)Sets the ‘onmousewheel’ event attribute for handling mouse wheel events on the element.
static OnPaste<TBuilder>(this TBuilder, string)Sets the ‘onpaste’ event attribute, defining a script to run when content is pasted into the SVG element.
static OnPause<TBuilder>(this TBuilder, string)Sets the ‘onpause’ event attribute for handling pause events, typically for media elements.
static OnPlay<TBuilder>(this TBuilder, string)Sets the ‘onplay’ event attribute for handling play events, typically for media elements.
static OnPlaying<TBuilder>(this TBuilder, string)Sets the ‘onplaying’ event attribute for handling events when the media is actively playing after being paused or stopped for buffering.
static OnProgress<TBuilder>(this TBuilder, string)Sets the ‘onprogress’ event attribute for handling events to indicate the progress of an ongoing process.
static OnRateChange<TBuilder>(this TBuilder, string)Sets the ‘onratechange’ event attribute for handling events when the playback rate of media is changed.
static OnRepeat<TBuilder>(this TBuilder, string)Sets the ‘onrepeat’ attribute, defining a script to be run each time the animation repeats.
static OnReset<TBuilder>(this TBuilder, string)Sets the ‘onreset’ event attribute for handling reset events on forms.
static OnResize<TBuilder>(this TBuilder, string)Sets the ‘onresize’ event attribute for handling resize events of the window or elements.
static OnScroll<TBuilder>(this TBuilder, string)Sets the ‘onscroll’ event attribute for handling scroll events on the element.
static OnSeeked<TBuilder>(this TBuilder, string)Sets the ‘onseeked’ event attribute for handling events when a seek operation on media is completed.
static OnSeeking<TBuilder>(this TBuilder, string)Sets the ‘onseeking’ event attribute for handling events when a seek operation on media is started.
static OnSelect<TBuilder>(this TBuilder, string)Sets the ‘onselect’ event attribute for handling text selection events on the element.
static OnShow<TBuilder>(this TBuilder, string)Sets the ‘onshow’ event attribute, typically used for handling events when a context menu is shown.
static OnStalled<TBuilder>(this TBuilder, string)Sets the ‘onstalled’ event attribute for handling events when media data transfer is unexpectedly halted.
static OnSubmit<TBuilder>(this TBuilder, string)Sets the ‘onsubmit’ event attribute for handling form submission events.
static OnSuspend<TBuilder>(this TBuilder, string)Sets the ‘onsuspend’ event attribute for handling events when media data loading is suspended.
static OnTimeUpdate<TBuilder>(this TBuilder, string)Sets the ‘ontimeupdate’ event attribute for handling events when the current playback position of media changes.
static OnToggle<TBuilder>(this TBuilder, string)Sets the ‘ontoggle’ event attribute for handling events when the user toggles a control, like a details element.
static OnUnload<TBuilder>(this TBuilder, string)Sets the ‘onunload’ event attribute, defining a script to run when the SVG document is unloaded.
static OnVolumeChange<TBuilder>(this TBuilder, string)Sets the ‘onvolumechange’ event attribute for handling events when the volume of media changes.
static OnWaiting<TBuilder>(this TBuilder, string)Sets the ‘onwaiting’ event attribute for handling events when media playback is delayed due to data buffering.
static Opacity<TBuilder>(this TBuilder, double)Sets the ‘opacity’ attribute for an SVG element, defining its transparency level.
static Overflow<TBuilder>(this TBuilder, Overflow)Sets the ‘overflow’ attribute for an SVG element, controlling how overflow is handled.
static PaintOrder<TBuilder>(this TBuilder, PaintOrder)Sets the ‘paint-order’ attribute for an SVG element, determining the order of painting fill, stroke, and markers.
static PathLength<TBuilder>(this TBuilder, double)Sets the ‘pathLength’ attribute for an SVG path element.
static PointerEvents<TBuilder>(this TBuilder, PointerEvents)Sets the ‘pointer-events’ attribute for an SVG element, defining how the element reacts to pointer events.
static Points<TBuilder>(this TBuilder, params double[])Sets the ‘points’ attribute for an SVG element using an array of doubles.
static Points<TBuilder>(this TBuilder, params PointF[])Sets the ‘points’ attribute for an SVG element using an array of PointF objects.
static Rect<TBuilder>(this TBuilder, double, double, double, double, LengthType)Sets the ‘x’, ‘y’, ‘width’, and ‘height’ attributes for an SVG element to define a rectangle.
static RefX<TBuilder>(this TBuilder, HorizontalPosition)Sets the ‘refX’ attribute for an SVG element using a predefined horizontal position.
static RefX<TBuilder>(this TBuilder, double, LengthType)Sets the ‘refX’ attribute for an SVG element.
static RefY<TBuilder>(this TBuilder, VerticalPosition)Sets the ‘refY’ attribute for an SVG element using a predefined vertical position.
static RefY<TBuilder>(this TBuilder, double, LengthType)Sets the ‘refY’ attribute for an SVG element.
static RepeatCount<TBuilder>(this TBuilder, IndefiniteRepeat)Sets the ‘repeatCount’ attribute, defining an indefinite repeat count for the animation using a predefined enum.
static RepeatCount<TBuilder>(this TBuilder, int)Sets the ‘repeatCount’ attribute, defining how many times the animation should repeat.
static RepeatDur<TBuilder>(this TBuilder, IndefiniteRepeat)Sets the ‘repeatDur’ attribute, specifying an indefinite total duration for the animation using a predefined enum.
static RepeatDur<TBuilder>(this TBuilder, TimeSpan)Sets the ‘repeatDur’ attribute, specifying the total duration for which the animation should repeat.
static RequiredExtensions<TBuilder>(this TBuilder, string)Sets the ‘requiredExtensions’ attribute on the SVG element. This attribute specifies which extensions are required for the SVG document fragment to be processed.
static Restart<TBuilder>(this TBuilder, Restart)Sets the ‘restart’ attribute, defining how the animation should behave when it completes.
static Result<TBuilder>(this TBuilder, string)Sets the ‘result’ attribute for an SVG filter primitive.
static Rotate<TBuilder>(this TBuilder, double)Sets a single rotation angle for the entire text content.
static Rotate<TBuilder>(this TBuilder, params double[])Sets rotation angles for individual characters or segments of the text content.
static SetAttribute<TBuilder>(this TBuilder, string, string)Sets an attribute on the SVG element. This method is used to add or modify an attribute of the SVG element being built.
static SetPreserveAspectRatio<TBuilder>(this TBuilder, AspectRatioAlign, AspectRatioScaling)Sets the ‘preserveAspectRatio’ attribute for an SVG element.
static ShapeRendering<TBuilder>(this TBuilder, ShapeRendering)Sets the ‘shape-rendering’ attribute for an SVG element, influencing the rendering of shapes.
static Slope<TBuilder>(this TBuilder, double)Sets the ‘slope’ attribute for a component transfer function element.
static SpreadMethod<TBuilder>(this TBuilder, SpreadMethod)Sets the ‘spreadMethod’ attribute for a gradient element.
static StopColor<TBuilder>(this TBuilder, Action<ColorBuilder>)Sets the ‘stop-color’ attribute for an SVG element using a custom color configuration.
static StopColor<TBuilder>(this TBuilder, Color)Sets the ‘stop-color’ attribute for an SVG element, defining the color at a gradient stop.
static StopOpacity<TBuilder>(this TBuilder, double)Sets the ‘stop-opacity’ attribute for an SVG element, defining the opacity at a gradient stop.
static Stroke<TBuilder>(this TBuilder, Action<PaintBuilder>)Sets the ‘stroke’ attribute for an SVG element using a custom paint configuration.
static Stroke<TBuilder>(this TBuilder, Color)Sets the ‘stroke’ attribute for an SVG element using a specific color.
static Stroke<TBuilder>(this TBuilder, Paint)Sets the ‘stroke’ attribute for an SVG element using a predefined paint value.
static StrokeDashArray<TBuilder>(this TBuilder, Dash)Sets the ‘stroke-dasharray’ attribute for an SVG element using a predefined dash pattern.
static StrokeDashArray<TBuilder>(this TBuilder, params double[])Sets the ‘stroke-dasharray’ attribute for an SVG element, defining the pattern of dashes and gaps used to paint the stroke.
static StrokeDashoffset<TBuilder>(this TBuilder, double, LengthType)Sets the ‘stroke-dashoffset’ attribute for an SVG element, defining the offset for the start of the stroke dash array.
static StrokeLineCap<TBuilder>(this TBuilder, StrokeLineCap)Sets the ‘stroke-linecap’ attribute for an SVG element, defining the shape to be used at the end of open subpaths when they are stroked.
static StrokeLineJoin<TBuilder>(this TBuilder, StrokeLineJoin)Sets the ‘stroke-linejoin’ attribute for an SVG element, defining the shape used to join two line segments where they meet.
static StrokeMiterlimit<TBuilder>(this TBuilder, double)Sets the ‘stroke-miterlimit’ attribute for an SVG element, defining the limit on the ratio of the miter length to the stroke width.
static StrokeOpacity<TBuilder>(this TBuilder, double)Sets the ‘stroke-opacity’ attribute for an SVG element, defining the opacity of the stroke.
static StrokeWidth<TBuilder>(this TBuilder, double, LengthType)Sets the ‘stroke-width’ attribute for an SVG element, defining the width of the stroke.
static Style<TBuilder>(this TBuilder, Action<RuleBuilder>)Sets the ‘style’ attribute using a rule builder to define CSS styles.
static Style<TBuilder>(this TBuilder, string)Sets the ‘style’ attribute, defining inline CSS styles for the SVG element.
static SystemLanguage<TBuilder>(this TBuilder, string)Sets the ‘systemLanguage’ attribute on the SVG element. This attribute specifies the language preferences for which the SVG document fragment is intended.
static Tabindex<TBuilder>(this TBuilder, int)Sets the ’tabindex’ attribute, defining the tab order of the SVG element.
static TableValues<TBuilder>(this TBuilder, params double[])Sets the ’tableValues’ attribute for a component transfer function element.
static TextAnchor<TBuilder>(this TBuilder, TextAnchor)Sets the ’text-anchor’ attribute for an SVG element, defining how the text is horizontally aligned relative to the given point.
static TextDecoration<TBuilder>(this TBuilder, bool, bool, bool, bool)Sets the ’text-decoration’ attribute for an SVG element, defining decorations that are added to the text.
static TextLength<TBuilder>(this TBuilder, double, LengthType)Sets the exact length of the text content.
static TextOverflow<TBuilder>(this TBuilder, TextOverflow)Sets the ’text-overflow’ attribute for an SVG element, defining how overflowed content that is not displayed is signaled to the users.
static TextRendering<TBuilder>(this TBuilder, TextRendering)Sets the ’text-rendering’ attribute for an SVG element, providing hints to the renderer about what trade-offs to make when rendering text.
static To<TBuilder>(this TBuilder, double, LengthType)Sets the ’to’ attribute, defining the ending value of the animation with a specified length type.
static Transform<TBuilder>(this TBuilder, Func<TransformBuilder, TransformBuilder>)Sets the ’transform’ attribute for an SVG element.
static Type<TBuilder>(this TBuilder, ComponentTransferType)Sets the ’type’ attribute of a component transfer function element.
static UnicodeBidi<TBuilder>(this TBuilder, UnicodeBidi)Sets the ‘unicode-bidi’ attribute for an SVG element, defining how the bidirectional text should be handled.
static Values<TBuilder>(this TBuilder, params string[])Sets the ‘values’ attribute, specifying the set of values to be used over the course of the animation.
static ViewBox<TBuilder>(this TBuilder, double, double, double, double)Sets the ‘viewBox’ attribute for an SVG element.
static Visibility<TBuilder>(this TBuilder, Visibility)Sets the ‘visibility’ attribute for an SVG element, controlling whether the element is visible or not.
static WhiteSspace<TBuilder>(this TBuilder, WhiteSpace)Sets the ‘white-space’ attribute for an SVG element, specifying how white space inside the element is handled.
static Width<TBuilder>(this TBuilder, double, LengthType)Sets the ‘width’ attribute for an SVG element.
static WordSpacing<TBuilder>(this TBuilder, Spacing)Sets the ‘word-spacing’ attribute for an SVG element, specifying the spacing behavior between words.
static WordSpacing<TBuilder>(this TBuilder, double, LengthType)Sets the ‘word-spacing’ attribute for an SVG element, specifying the spacing behavior between words with a custom value.
static WritingMode<TBuilder>(this TBuilder, WritingMode)Sets the ‘writing-mode’ attribute for an SVG element, specifying the direction in which text and inline content are laid out.
static X<TBuilder>(this TBuilder, double, LengthType)Sets the ‘x’ attribute for an SVG element.
static X<TBuilder>(this TBuilder, LengthType, params double[])Sets the ‘x’ attribute for positioning the text content along the x-axis.
static XlinkHref<TBuilder>(this TBuilder, string)Sets the ‘xlink:href’ attribute for an SVG element. This attribute is used to define a reference to a resource as a link.
static XlinkTitle<TBuilder>(this TBuilder, string)Sets the ‘xlink:title’ attribute for an SVG element. This attribute provides a title for the linked resource.
static XmlSpace<TBuilder>(this TBuilder, XmlSpace)Sets the ‘xml:space’ attribute, specifying how white spaces are handled.
static Y<TBuilder>(this TBuilder, double, LengthType)Sets the ‘y’ attribute for an SVG element.
static Y<TBuilder>(this TBuilder, LengthType, params double[])Sets the ‘y’ attribute for positioning the text content along the y-axis.

See Also