Class SVGBuilderExtensions

Class SVGBuilderExtensions

Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.5.0)

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.

[ComVisible(true)]
public static class SVGBuilderExtensions

Inheritance

object SVGBuilderExtensions

Inherited Members

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Methods

Accumulate<tbuilder>(TBuilder,   )

public static TBuilder Accumulate<tbuilder>(this TBuilder builder,    value) where TBuilder : ISVGElementBuilder, IAnimationAdditionAttributeSetter

Parameters

builder TBuilder

value   

Returns

TBuilder

Type Parameters

TBuilder

AddA<tbuilder>(TBuilder, Action<svgaelementbuilder>)

Adds an ‘a’ (hyperlink) element configuration to the builder.

public static TBuilder AddA<tbuilder>(this TBuilder builder, Action<svgaelementbuilder> configure) where TBuilder : ISVGElementBuilder, ICompositeElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGAElementBuilder &gt;

The configuration action for the ‘a’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddAnimate<tbuilder>(TBuilder, Action<svganimateelementbuilder>)

Adds an ‘animate’ element configuration to the builder.

public static TBuilder AddAnimate<tbuilder>(this TBuilder builder, Action<svganimateelementbuilder> configure) where TBuilder : ISVGElementBuilder, IBaseAnimationElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGAnimateElementBuilder &gt;

The configuration action for the ‘animate’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddAnimateMotion<tbuilder>(TBuilder, Action<svganimatemotionelementbuilder>)

Adds an ‘animateMotion’ element configuration to the builder.

public static TBuilder AddAnimateMotion<tbuilder>(this TBuilder builder, Action<svganimatemotionelementbuilder> configure) where TBuilder : ISVGElementBuilder, IAnimationElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGAnimateMotionElementBuilder &gt;

The configuration action for the ‘animateMotion’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddAnimateTransform<tbuilder>(TBuilder, Action<svganimatetransformelementbuilder>)

Adds an ‘animateTransform’ element configuration to the builder.

public static TBuilder AddAnimateTransform<tbuilder>(this TBuilder builder, Action<svganimatetransformelementbuilder> configure) where TBuilder : ISVGElementBuilder, IAnimationElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGAnimateTransformElementBuilder &gt;

The configuration action for the ‘animateTransform’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddBuilder<tbuilder, telementbuilder="">(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.

public static TBuilder AddBuilder<tbuilder, telementbuilder="">(this TBuilder builder, TElementBuilder elementBuilder) where TBuilder : ISVGElementBuilder where TElementBuilder : ISVGElementBuilder

Parameters

builder TBuilder

The SVG element builder to which the other element builder is added.

elementBuilder TElementBuilder

The SVG element builder to be added.

Returns

TBuilder

The original SVG element builder for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

TElementBuilder

The type of the SVG element builder to be configured. TElementBuilder must implement ISVGElementBuilder.

AddCircle<tbuilder>(TBuilder, Action<svgcircleelementbuilder>)

Adds a ‘circle’ element configuration to the builder.

public static TBuilder AddCircle<tbuilder>(this TBuilder builder, Action<svgcircleelementbuilder> configure) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGCircleElementBuilder &gt;

The configuration action for the ‘circle’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddCircle<tbuilder>(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.

public static TBuilder AddCircle<tbuilder>(this TBuilder builder, OneOf<double, (double,="" lengthtype)=""> cx = null, OneOf<double, (double,="" lengthtype)=""> cy = null, OneOf<double, (double,="" lengthtype)=""> r = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgcircleelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘circle’ element will be added.

cx OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the circle’s center. Can be a double value or a tuple of double and LengthType.

cy OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the circle’s center. Can be a double value or a tuple of double and LengthType.

r OneOf < double , ( double , LengthType )&gt;

The radius of the circle. Can be a double value or a tuple of double and LengthType.

fill OneOf < Color , Paint , string &gt;

The fill color or paint style for the circle. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color or paint style for the circle’s outline. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

id string

The unique identifier for the circle element. Optional parameter.

extend Action < SVGCircleElementBuilder &gt;

An optional action to further configure the circle element builder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddClipPath<tbuilder>(TBuilder, Action<svgclippathelementbuilder>)

Adds a ‘clipPath’ element configuration to the builder.

public static TBuilder AddClipPath<tbuilder>(this TBuilder builder, Action<svgclippathelementbuilder> configure) where TBuilder : ISVGElementBuilder, IShapeContentElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGClipPathElementBuilder &gt;

The configuration action for the ‘clipPath’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddContent<tbuilder>(TBuilder, string)

Adds text content to the SVG element.

public static TBuilder AddContent<tbuilder>(this TBuilder builder, string text) where TBuilder : ISVGElementBuilder, ITextContentSetter

Parameters

builder TBuilder

The SVG element builder.

text string

The text to be added to the element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Remarks

This method allows adding text content directly to an SVG element. It’s useful for elements that contain textual data.

AddDefs<tbuilder>(TBuilder, Action<svgdefselementbuilder>)

Adds a ‘defs’ (definitions) element configuration to the builder.

public static TBuilder AddDefs<tbuilder>(this TBuilder builder, Action<svgdefselementbuilder> configure) where TBuilder : ISVGElementBuilder, IStructuralElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGDefsElementBuilder &gt;

The configuration action for the ‘defs’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddDesc<tbuilder>(TBuilder, Action<svgdescelementbuilder>)

Adds a ‘desc’ element configuration to the builder. The ‘desc’ element is used to provide a description for SVG content.

public static TBuilder AddDesc<tbuilder>(this TBuilder builder, Action<svgdescelementbuilder> configure) where TBuilder : ISVGElementBuilder, IDescriptiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGDescElementBuilder &gt;

The configuration action for the ‘desc’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddEllipse<tbuilder>(TBuilder, Action<svgellipseelementbuilder>)

Adds an ’ellipse’ element configuration to the builder.

public static TBuilder AddEllipse<tbuilder>(this TBuilder builder, Action<svgellipseelementbuilder> configure) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGEllipseElementBuilder &gt;

The configuration action for the ’ellipse’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddEllipse<tbuilder>(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.

public static TBuilder AddEllipse<tbuilder>(this TBuilder builder, OneOf<double, (double,="" lengthtype)=""> cx = null, OneOf<double, (double,="" lengthtype)=""> cy = null, OneOf<double, (double,="" lengthtype)=""> rx = null, OneOf<double, (double,="" lengthtype)=""> ry = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgellipseelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ’ellipse’ element will be added.

cx OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the center of the ellipse. Can be a double value or a tuple of double and LengthType.

cy OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the center of the ellipse. Can be a double value or a tuple of double and LengthType.

rx OneOf < double , ( double , LengthType )&gt;

The x-radius of the ellipse. Can be a double value or a tuple of double and LengthType.

ry OneOf < double , ( double , LengthType )&gt;

The y-radius of the ellipse. Can be a double value or a tuple of double and LengthType.

fill OneOf < Color , Paint , string &gt;

The fill color or paint style for the ellipse. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color or paint style for the ellipse. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

id string

The unique identifier for the ellipse element. Optional parameter.

extend Action < SVGEllipseElementBuilder &gt;

An optional action to further configure the ellipse element builder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeBlend<tbuilder>(TBuilder, Action<svgfeblendelementbuilder>)

Adds an ‘feBlend’ element configuration to the builder. This element defines a blend effect between two graphics.

public static TBuilder AddFeBlend<tbuilder>(this TBuilder builder, Action<svgfeblendelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFEBlendElementBuilder &gt;

The configuration action for the ‘feBlend’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeBlend<tbuilder>(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.

public static TBuilder AddFeBlend<tbuilder>(this TBuilder builder, BlendMode? mode = null, OneOf<string, filterinput=""> @in = null, OneOf<string, filterinput=""> in2 = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfeblendelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feBlend’ element will be added.

mode BlendMode ?

The blend mode to be used. Optional parameter.

in OneOf < string , FilterInput &gt;

The first input for the blend effect. Can be a string or a FilterInput. Optional parameter.

in2 OneOf < string , FilterInput &gt;

The second input for the blend effect. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFEBlendElementBuilder &gt;

An optional action to further configure the SVGFEBlendElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeColorMatrix<tbuilder>(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.

public static TBuilder AddFeColorMatrix<tbuilder>(this TBuilder builder, Action<svgfecolormatrixelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFEColorMatrixElementBuilder &gt;

The configuration action for the ‘feColorMatrix’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeColorMatrix<tbuilder>(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.

public static TBuilder AddFeColorMatrix<tbuilder>(this TBuilder builder, ColorMatrixOperation type, double[] values = null, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfecolormatrixelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feColorMatrix’ element will be added.

type ColorMatrixOperation

The type of color matrix operation to be applied.

values double []

The values for the color matrix operation. Optional parameter.

in OneOf < string , FilterInput &gt;

The input for the color matrix effect. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFEColorMatrixElementBuilder &gt;

An optional action to further configure the SVGFEColorMatrixElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeComponentTransfer<tbuilder>(TBuilder, Action<svgfecomponenttransferelementbuilder>)

Adds an ‘feComponentTransfer’ element configuration to the builder. This element performs component-wise remapping of data for color channels.

public static TBuilder AddFeComponentTransfer<tbuilder>(this TBuilder builder, Action<svgfecomponenttransferelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFEComponentTransferElementBuilder &gt;

The configuration action for the ‘feComponentTransfer’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeComponentTransfer<tbuilder>(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.

public static TBuilder AddFeComponentTransfer<tbuilder>(this TBuilder builder, Action<svgfefuncaelementbuilder> a = null, Action<svgfefuncrelementbuilder> r = null, Action<svgfefuncgelementbuilder> g = null, Action<svgfefuncbelementbuilder> b = null, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfecomponenttransferelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feComponentTransfer’ element will be added.

a Action < SVGFEFuncAElementBuilder &gt;

An action to configure the ‘feFuncA’ component for the alpha channel. Optional parameter.

r Action < SVGFEFuncRElementBuilder &gt;

An action to configure the ‘feFuncR’ component for the red channel. Optional parameter.

g Action < SVGFEFuncGElementBuilder &gt;

An action to configure the ‘feFuncG’ component for the green channel. Optional parameter.

b Action < SVGFEFuncBElementBuilder &gt;

An action to configure the ‘feFuncB’ component for the blue channel. Optional parameter.

in OneOf < string , FilterInput &gt;

The input for the component transfer effect. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFEComponentTransferElementBuilder &gt;

An optional action to further configure the SVGFEComponentTransferElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeComposite<tbuilder>(TBuilder, Action<svgfecompositeelementbuilder>)

Adds an ‘feComposite’ element configuration to the builder. This element performs a bitwise combination of two input graphics.

public static TBuilder AddFeComposite<tbuilder>(this TBuilder builder, Action<svgfecompositeelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFECompositeElementBuilder &gt;

The configuration action for the ‘feComposite’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeComposite<tbuilder>(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.

public static TBuilder AddFeComposite<tbuilder>(this TBuilder builder, CompositeOperator? compositeOperator, double? k1, double? k2, double? k3, double? k4, OneOf<string, filterinput=""> @in = null, OneOf<string, filterinput=""> in2 = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfecompositeelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feComposite’ element will be added.

compositeOperator CompositeOperator ?

The composite operator to be used. Optional parameter.

k1 double ?

The first numeric value for the composite operation. Optional parameter.

k2 double ?

The second numeric value for the composite operation. Optional parameter.

k3 double ?

The third numeric value for the composite operation. Optional parameter.

k4 double ?

The fourth numeric value for the composite operation. Optional parameter.

in OneOf < string , FilterInput &gt;

The first input for the composite effect. Can be a string or a FilterInput. Optional parameter.

in2 OneOf < string , FilterInput &gt;

The second input for the composite effect. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFECompositeElementBuilder &gt;

An optional action to further configure the SVGFECompositeElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeConvolveMatrix<tbuilder>(TBuilder, Action<svgfeconvolvematrixelementbuilder>)

Adds an ‘feConvolveMatrix’ element configuration to the builder. This element applies a matrix convolution filter effect.

public static TBuilder AddFeConvolveMatrix<tbuilder>(this TBuilder builder, Action<svgfeconvolvematrixelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFEConvolveMatrixElementBuilder &gt;

The configuration action for the ‘feConvolveMatrix’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeConvolveMatrix<tbuilder>(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.

public static TBuilder AddFeConvolveMatrix<tbuilder>(this TBuilder builder, double[] kernelMatrix = null, double? divisor = null, double? bias = null, int? targetX = null, int? targetY = null, EdgeMode? edgeMode = null, bool? preserveAlpha = null, OneOf<int, (int,="" int)=""> order = null, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfeconvolvematrixelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feConvolveMatrix’ element will be added.

kernelMatrix double []

The matrix of values for the convolution. Optional parameter.

divisor double ?

The divisor for the convolution. Optional parameter.

bias double ?

The bias to be added to the result of the convolution. Optional parameter.

targetX int ?

The x-coordinate of the target pixel in the kernel matrix. Optional parameter.

targetY int ?

The y-coordinate of the target pixel in the kernel matrix. Optional parameter.

edgeMode EdgeMode ?

Defines how to handle edge pixels in the convolution. Optional parameter.

preserveAlpha bool ?

Indicates whether to preserve the alpha channel. Optional parameter.

order OneOf < int , ( int , int )&gt;

The order of the kernel matrix. Can be an int or a ValueTuple of two ints. Optional parameter.

in OneOf < string , FilterInput &gt;

The input for the convolution effect. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFEConvolveMatrixElementBuilder &gt;

An optional action to further configure the SVGFEConvolveMatrixElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeDiffuseLighting<tbuilder>(TBuilder, Action<svgfediffuselightingelementbuilder>)

Adds an ‘feDiffuseLighting’ element configuration to the builder. This element provides a lighting effect on an image.

public static TBuilder AddFeDiffuseLighting<tbuilder>(this TBuilder builder, Action<svgfediffuselightingelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFEDiffuseLightingElementBuilder &gt;

The configuration action for the ‘feDiffuseLighting’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeDiffuseLighting<tbuilder>(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.

public static TBuilder AddFeDiffuseLighting<tbuilder>(this TBuilder builder, Action<svgfedistantlightelementbuilder> lightSource, Color? lightingColor = null, double? surfaceScale = null, double? diffuseConstant = null, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfediffuselightingelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feDiffuseLighting’ element will be added.

lightSource Action < SVGFEDistantLightElementBuilder &gt;

An action to configure the light source for the diffuse lighting effect.

lightingColor Color ?

The color of the light. Optional parameter.

surfaceScale double ?

The surface scale factor for the lighting effect. Optional parameter.

diffuseConstant double ?

The constant used to determine the lighting effect. Optional parameter.

in OneOf < string , FilterInput &gt;

The input for the diffuse lighting effect. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFEDiffuseLightingElementBuilder &gt;

An optional action to further configure the SVGFEDiffuseLightingElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeDiffuseLighting<tbuilder>(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.

public static TBuilder AddFeDiffuseLighting<tbuilder>(this TBuilder builder, Action<svgfepointlightelementbuilder> lightSource, Color? lightingColor = null, double? surfaceScale = null, double? diffuseConstant = null, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfediffuselightingelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feDiffuseLighting’ element will be added.

lightSource Action < SVGFEPointLightElementBuilder &gt;

An action to configure the light source for the diffuse lighting effect.

lightingColor Color ?

The color of the light. Optional parameter.

surfaceScale double ?

The surface scale factor for the lighting effect. Optional parameter.

diffuseConstant double ?

The constant used to determine the lighting effect. Optional parameter.

in OneOf < string , FilterInput &gt;

The input for the diffuse lighting effect. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFEDiffuseLightingElementBuilder &gt;

An optional action to further configure the SVGFEDiffuseLightingElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeDiffuseLighting<tbuilder>(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.

public static TBuilder AddFeDiffuseLighting<tbuilder>(this TBuilder builder, Action<svgfespotlightelementbuilder> lightSource, Color? lightingColor = null, double? surfaceScale = null, double? diffuseConstant = null, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfediffuselightingelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feDiffuseLighting’ element will be added.

lightSource Action < SVGFESpotLightElementBuilder &gt;

An action to configure the light source for the diffuse lighting effect.

lightingColor Color ?

The color of the light. Optional parameter.

surfaceScale double ?

The surface scale factor for the lighting effect. Optional parameter.

diffuseConstant double ?

The constant used to determine the lighting effect. Optional parameter.

in OneOf < string , FilterInput &gt;

The input for the diffuse lighting effect. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFEDiffuseLightingElementBuilder &gt;

An optional action to further configure the SVGFEDiffuseLightingElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeDisplacementMap<tbuilder>(TBuilder, Action<svgfedisplacementmapelementbuilder>)

Adds an ‘feDisplacementMap’ element configuration to the builder. This element displaces an image by a specified vector map.

public static TBuilder AddFeDisplacementMap<tbuilder>(this TBuilder builder, Action<svgfedisplacementmapelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFEDisplacementMapElementBuilder &gt;

The configuration action for the ‘feDisplacementMap’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeDisplacementMap<tbuilder>(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.

public static TBuilder AddFeDisplacementMap<tbuilder>(this TBuilder builder, double? scale = null, ChannelSelector? xChannelSelector = null, ChannelSelector? yChannelSelector = null, OneOf<string, filterinput=""> @in = null, OneOf<string, filterinput=""> in2 = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfedisplacementmapelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feDisplacementMap’ element will be added.

scale double ?

The scale factor determining the amount of displacement. Optional parameter.

xChannelSelector ChannelSelector ?

The channel of the in2 image to use for displacement along the x-axis. Optional parameter.

yChannelSelector ChannelSelector ?

The channel of the in2 image to use for displacement along the y-axis. Optional parameter.

in OneOf < string , FilterInput &gt;

The input image to be displaced. Can be a string or a FilterInput. Optional parameter.

in2 OneOf < string , FilterInput &gt;

The image providing the displacement data. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFEDisplacementMapElementBuilder &gt;

An optional action to further configure the SVGFEDisplacementMapElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeDropShadow<tbuilder>(TBuilder, Action<svgfedropshadowelementbuilder>)

Adds an ‘feDropShadow’ element configuration to the builder. This element creates a drop shadow effect.

public static TBuilder AddFeDropShadow<tbuilder>(this TBuilder builder, Action<svgfedropshadowelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFEDropShadowElementBuilder &gt;

The configuration action for the ‘feDropShadow’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeDropShadow<tbuilder>(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.

public static TBuilder AddFeDropShadow<tbuilder>(this TBuilder builder, double? dx = null, double? dy = null, OneOf<double, (double,="" double)=""> stdDeviation = null, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfedropshadowelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feDropShadow’ element will be added.

dx double ?

The horizontal offset for the drop shadow. Optional parameter.

dy double ?

The vertical offset for the drop shadow. Optional parameter.

stdDeviation OneOf < double , ( double , double )&gt;

The standard deviation for the blur operation in the drop shadow. Can be a double or a ValueTuple of two doubles. Optional parameter.

in OneOf < string , FilterInput &gt;

The input graphic to which the drop shadow will be applied. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFEDropShadowElementBuilder &gt;

An optional action to further configure the SVGFEDropShadowElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeFlood<tbuilder>(TBuilder, Action<svgfefloodelementbuilder>)

Adds an ‘feFlood’ element configuration to the builder. This element fills the filter subregion with a specified color.

public static TBuilder AddFeFlood<tbuilder>(this TBuilder builder, Action<svgfefloodelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFEFloodElementBuilder &gt;

The configuration action for the ‘feFlood’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeFlood<tbuilder>(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.

public static TBuilder AddFeFlood<tbuilder>(this TBuilder builder, Color? floodColor = null, double? floodOpacity = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfefloodelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feFlood’ element will be added.

floodColor Color ?

The color used for the flood effect. Optional parameter.

floodOpacity double ?

The opacity level of the flood color. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFEFloodElementBuilder &gt;

An optional action to further configure the SVGFEFloodElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeGaussianBlur<tbuilder>(TBuilder, Action<svgfegaussianblurelementbuilder>)

Adds an ‘feGaussianBlur’ element configuration to the builder. This element applies a Gaussian blur to the input image.

public static TBuilder AddFeGaussianBlur<tbuilder>(this TBuilder builder, Action<svgfegaussianblurelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFEGaussianBlurElementBuilder &gt;

The configuration action for the ‘feGaussianBlur’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeGaussianBlur<tbuilder>(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.

public static TBuilder AddFeGaussianBlur<tbuilder>(this TBuilder builder, OneOf<double, (double,="" double)=""> stdDeviation = null, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfegaussianblurelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feGaussianBlur’ element will be added.

stdDeviation OneOf < double , ( double , double )&gt;

The standard deviation for the blur operation. Can be a double or a ValueTuple of two doubles. Optional parameter.

in OneOf < string , FilterInput &gt;

The input image to which the Gaussian blur will be applied. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFEGaussianBlurElementBuilder &gt;

An optional action to further configure the SVGFEGaussianBlurElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeImage<tbuilder>(TBuilder, Action<svgfeimageelementbuilder>)

Adds an ‘feImage’ element configuration to the builder. This element fetches an external image and includes it in the filter pipeline.

public static TBuilder AddFeImage<tbuilder>(this TBuilder builder, Action<svgfeimageelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFEImageElementBuilder &gt;

The configuration action for the ‘feImage’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeImage<tbuilder>(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.

public static TBuilder AddFeImage<tbuilder>(this TBuilder builder, string href = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfeimageelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feImage’ element will be added.

href string

The URL or reference to the external image. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFEImageElementBuilder &gt;

An optional action to further configure the SVGFEImageElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeMerge<tbuilder>(TBuilder, Action<svgfemergeelementbuilder>)

Adds an ‘feMerge’ element configuration to the builder. This element allows filter effects to be applied concurrently instead of sequentially.

public static TBuilder AddFeMerge<tbuilder>(this TBuilder builder, Action<svgfemergeelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFEMergeElementBuilder &gt;

The configuration action for the ‘feMerge’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeMorphology<tbuilder>(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.

public static TBuilder AddFeMorphology<tbuilder>(this TBuilder builder, Action<svgfemorphologyelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFEMorphologyElementBuilder &gt;

The configuration action for the ‘feMorphology’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeMorphology<tbuilder>(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.

public static TBuilder AddFeMorphology<tbuilder>(this TBuilder builder, MorphologyOperator? @operator = null, OneOf<double, (double,="" double)=""> radius = null, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfemorphologyelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feMorphology’ element will be added.

operator MorphologyOperator ?

The morphological operator to be applied. Optional parameter.

radius OneOf < double , ( double , double )&gt;

The radius for the morphology operation. Can be a double or a ValueTuple of two doubles. Optional parameter.

in OneOf < string , FilterInput &gt;

The input image to which the morphological operation will be applied. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFEMorphologyElementBuilder &gt;

An optional action to further configure the SVGFEMorphologyElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeOffset<tbuilder>(TBuilder, Action<svgfeoffsetelementbuilder>)

Adds an ‘feOffset’ element configuration to the builder. This element offsets the input image by a specified vector.

public static TBuilder AddFeOffset<tbuilder>(this TBuilder builder, Action<svgfeoffsetelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFEOffsetElementBuilder &gt;

The configuration action for the ‘feOffset’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeOffset<tbuilder>(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.

public static TBuilder AddFeOffset<tbuilder>(this TBuilder builder, double? dx = null, double? dy = null, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfeoffsetelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feOffset’ element will be added.

dx double ?

The horizontal offset distance. Optional parameter.

dy double ?

The vertical offset distance. Optional parameter.

in OneOf < string , FilterInput &gt;

The input image to which the offset will be applied. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFEOffsetElementBuilder &gt;

An optional action to further configure the SVGFEOffsetElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeSpecularLighting<tbuilder>(TBuilder, Action<svgfespecularlightingelementbuilder>)

Adds an ‘feSpecularLighting’ element configuration to the builder. This element applies a lighting effect to the image, simulating specular reflection.

public static TBuilder AddFeSpecularLighting<tbuilder>(this TBuilder builder, Action<svgfespecularlightingelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFESpecularLightingElementBuilder &gt;

The configuration action for the ‘feSpecularLighting’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeSpecularLighting<tbuilder>(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.

public static TBuilder AddFeSpecularLighting<tbuilder>(this TBuilder builder, Action<svgfedistantlightelementbuilder> lightSource, Color? lightingColor = null, double? surfaceScale = null, double? specularConstant = null, double? specularExponent = null, OneOf<double, (double,="" double)=""> kernelUnitLength = null, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfespecularlightingelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feSpecularLighting’ element will be added.

lightSource Action < SVGFEDistantLightElementBuilder &gt;

An action to configure the light source for the specular lighting effect.

lightingColor Color ?

The color of the light. Optional parameter.

surfaceScale double ?

The surface scale factor for the lighting effect. Optional parameter.

specularConstant double ?

The constant used to scale the specular term. Optional parameter.

specularExponent double ?

The exponent for the specular term, controlling the focus of the specular highlight. Optional parameter.

kernelUnitLength OneOf < double , ( double , double )&gt;

The kernel unit length for the convolution filter. Can be a double or a ValueTuple of two doubles. Optional parameter.

in OneOf < string , FilterInput &gt;

The input image to which the specular lighting effect will be applied. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFESpecularLightingElementBuilder &gt;

An optional action to further configure the SVGFESpecularLightingElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeSpecularLighting<tbuilder>(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.

public static TBuilder AddFeSpecularLighting<tbuilder>(this TBuilder builder, Action<svgfepointlightelementbuilder> lightSource, Color? lightingColor = null, double? surfaceScale = null, double? specularConstant = null, double? specularExponent = null, OneOf<double, (double,="" double)=""> kernelUnitLength = null, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfespecularlightingelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feSpecularLighting’ element will be added.

lightSource Action < SVGFEPointLightElementBuilder &gt;

An action to configure the light source for the specular lighting effect.

lightingColor Color ?

The color of the light. Optional parameter.

surfaceScale double ?

The surface scale factor for the lighting effect. Optional parameter.

specularConstant double ?

The constant used to scale the specular term. Optional parameter.

specularExponent double ?

The exponent for the specular term, controlling the focus of the specular highlight. Optional parameter.

kernelUnitLength OneOf < double , ( double , double )&gt;

The kernel unit length for the convolution filter. Can be a double or a ValueTuple of two doubles. Optional parameter.

in OneOf < string , FilterInput &gt;

The input image to which the specular lighting effect will be applied. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFESpecularLightingElementBuilder &gt;

An optional action to further configure the SVGFESpecularLightingElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeSpecularLighting<tbuilder>(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.

public static TBuilder AddFeSpecularLighting<tbuilder>(this TBuilder builder, Action<svgfespotlightelementbuilder> lightSource, Color? lightingColor = null, double? surfaceScale = null, double? specularConstant = null, double? specularExponent = null, OneOf<double, (double,="" double)=""> kernelUnitLength = null, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfespecularlightingelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feSpecularLighting’ element will be added.

lightSource Action < SVGFESpotLightElementBuilder &gt;

An action to configure the light source for the specular lighting effect.

lightingColor Color ?

The color of the light. Optional parameter.

surfaceScale double ?

The surface scale factor for the lighting effect. Optional parameter.

specularConstant double ?

The constant used to scale the specular term. Optional parameter.

specularExponent double ?

The exponent for the specular term, controlling the focus of the specular highlight. Optional parameter.

kernelUnitLength OneOf < double , ( double , double )&gt;

The kernel unit length for the convolution filter. Can be a double or a ValueTuple of two doubles. Optional parameter.

in OneOf < string , FilterInput &gt;

The input image to which the specular lighting effect will be applied. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFESpecularLightingElementBuilder &gt;

An optional action to further configure the SVGFESpecularLightingElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeTile<tbuilder>(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.

public static TBuilder AddFeTile<tbuilder>(this TBuilder builder, Action<svgfetileelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFETileElementBuilder &gt;

The configuration action for the ‘feTile’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeTile<tbuilder>(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.

public static TBuilder AddFeTile<tbuilder>(this TBuilder builder, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfetileelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feTile’ element will be added.

in OneOf < string , FilterInput &gt;

The input image to be replicated into tiles. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFETileElementBuilder &gt;

An optional action to further configure the SVGFETileElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFeTurbulence<tbuilder>(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.

public static TBuilder AddFeTurbulence<tbuilder>(this TBuilder builder, Action<svgfeturbulenceelementbuilder> configure) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFETurbulenceElementBuilder &gt;

The configuration action for the ‘feTurbulence’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFeTurbulence<tbuilder>(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.

public static TBuilder AddFeTurbulence<tbuilder>(this TBuilder builder, OneOf<double, (double,="" double)=""> baseFrequency = null, int? numOctaves = null, double? seed = null, StitchTiles? stitchTiles = null, TurbulenceType? type = null, OneOf<string, filterinput=""> @in = null, string result = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfeturbulenceelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘feTurbulence’ element will be added.

baseFrequency OneOf < double , ( double , double )&gt;

The base frequency of the turbulence. Can be a double or a ValueTuple of two doubles. Optional parameter.

numOctaves int ?

The number of octaves for the turbulence. Optional parameter.

seed double ?

The seed number for the random number generator. Optional parameter.

stitchTiles StitchTiles ?

Indicates whether the tiles are stitched together. Optional parameter.

type TurbulenceType ?

The type of turbulence (fractal noise or turbulence). Optional parameter.

in OneOf < string , FilterInput &gt;

The input image to which the turbulence effect will be applied. Can be a string or a FilterInput. Optional parameter.

result string

The result identifier for this filter primitive. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the filter primitive element. Optional parameter.

extend Action < SVGFETurbulenceElementBuilder &gt;

An optional action to further configure the SVGFETurbulenceElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddFilter<tbuilder>(TBuilder, Action<svgfilterelementbuilder>)

Adds a ‘filter’ element configuration to the builder.

public static TBuilder AddFilter<tbuilder>(this TBuilder builder, Action<svgfilterelementbuilder> configure) where TBuilder : ISVGElementBuilder, ICompositeElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGFilterElementBuilder &gt;

The configuration action for the ‘filter’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddFilter<tbuilder>(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.

public static TBuilder AddFilter<tbuilder>(this TBuilder builder, CoordinateUnits? filterUnits = null, CoordinateUnits? primitiveUnits = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgfilterelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘filter’ element will be added.

filterUnits CoordinateUnits ?

Specifies the coordinate system for the filter’s x, y, width, and height attributes. Optional parameter.

primitiveUnits CoordinateUnits ?

Specifies the coordinate system for the attributes of the filter’s child elements. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the filter region. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the filter region. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the filter region. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the filter region. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color or paint for the filter element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color or paint for the filter element. Optional parameter.

id string

The unique identifier for the filter element. Optional parameter.

extend Action < SVGFilterElementBuilder &gt;

An optional action to further configure the SVGFilterElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddForeignObject<tbuilder>(TBuilder, Action<svgforeignobjectelementbuilder>)

Adds a ‘foreignObject’ element configuration to the builder.

public static TBuilder AddForeignObject<tbuilder>(this TBuilder builder, Action<svgforeignobjectelementbuilder> configure) where TBuilder : ISVGElementBuilder, ICompositeElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGForeignObjectElementBuilder &gt;

The configuration action for the ‘foreignObject’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddG<tbuilder>(TBuilder, Action<svggelementbuilder>)

Adds a ‘g’ (group) element configuration to the builder.

public static TBuilder AddG<tbuilder>(this TBuilder builder, Action<svggelementbuilder> configure) where TBuilder : ISVGElementBuilder, IStructuralElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGGElementBuilder &gt;

The configuration action for the ‘g’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddImage<tbuilder>(TBuilder, Action<svgimageelementbuilder>)

Adds an ‘image’ element configuration to the builder.

public static TBuilder AddImage<tbuilder>(this TBuilder builder, Action<svgimageelementbuilder> configure) where TBuilder : ISVGElementBuilder, ICompositeElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGImageElementBuilder &gt;

The configuration action for the ‘image’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddImage<tbuilder>(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.

public static TBuilder AddImage<tbuilder>(this TBuilder builder, string href = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, string id = null, Action<svgimageelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, ICompositeElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘image’ element will be added.

href string

The URL or reference to the external image. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate where the image is placed. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate where the image is placed. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the image. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the image. Can be a double or a ValueTuple with LengthType. Optional parameter.

id string

The unique identifier for the image element. Optional parameter.

extend Action < SVGImageElementBuilder &gt;

An optional action to further configure the SVGImageElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddLine<tbuilder>(TBuilder, Action<svglineelementbuilder>)

Adds a ’line’ element configuration to the builder.

public static TBuilder AddLine<tbuilder>(this TBuilder builder, Action<svglineelementbuilder> configure) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGLineElementBuilder &gt;

The configuration action for the ’line’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddLine<tbuilder>(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.

public static TBuilder AddLine<tbuilder>(this TBuilder builder, OneOf<double, (double,="" lengthtype)=""> x1 = null, OneOf<double, (double,="" lengthtype)=""> y1 = null, OneOf<double, (double,="" lengthtype)=""> x2 = null, OneOf<double, (double,="" lengthtype)=""> y2 = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svglineelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ’line’ element will be added.

x1 OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the start point of the line. Can be a double value or a tuple of double and LengthType.

y1 OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the start point of the line. Can be a double value or a tuple of double and LengthType.

x2 OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the end point of the line. Can be a double value or a tuple of double and LengthType.

y2 OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the end point of the line. Can be a double value or a tuple of double and LengthType.

fill OneOf < Color , Paint , string &gt;

The fill color or paint style for the line. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color or paint style for the line. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

id string

The unique identifier for the line element. Optional parameter.

extend Action < SVGLineElementBuilder &gt;

An optional action to further configure the line element builder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddLinearGradient<tbuilder>(TBuilder, Action<svglineargradientelementbuilder>)

Adds a ’linearGradient’ element configuration to the builder.

public static TBuilder AddLinearGradient<tbuilder>(this TBuilder builder, Action<svglineargradientelementbuilder> configure) where TBuilder : ISVGElementBuilder, IPaintServerElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGLinearGradientElementBuilder &gt;

The configuration action for the ’linearGradient’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddLinearGradient<tbuilder>(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.

public static TBuilder AddLinearGradient<tbuilder>(this TBuilder builder, OneOf<double, (double,="" lengthtype)=""> x1, OneOf<double, (double,="" lengthtype)=""> y1, OneOf<double, (double,="" lengthtype)=""> x2, OneOf<double, (double,="" lengthtype)=""> y2, CoordinateUnits? gradientUnits, SpreadMethod? spreadMethod, string href = null, string id = null, Action<svglineargradientelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ’linearGradient’ element will be added.

x1 OneOf < double , ( double , LengthType )&gt;

The starting x-coordinate for the gradient. Can be a double or a ValueTuple with LengthType.

y1 OneOf < double , ( double , LengthType )&gt;

The starting y-coordinate for the gradient. Can be a double or a ValueTuple with LengthType.

x2 OneOf < double , ( double , LengthType )&gt;

The ending x-coordinate for the gradient. Can be a double or a ValueTuple with LengthType.

y2 OneOf < double , ( double , LengthType )&gt;

The ending y-coordinate for the gradient. Can be a double or a ValueTuple with LengthType.

gradientUnits CoordinateUnits ?

Specifies the coordinate system for the gradient. Optional parameter.

spreadMethod SpreadMethod ?

Defines how the gradient spreads beyond its start and end points. Optional parameter.

href string

The reference to another gradient, if applicable. Optional parameter.

id string

The unique identifier for the gradient element. Optional parameter.

extend Action < SVGLinearGradientElementBuilder &gt;

An optional action to further configure the linear gradient element builder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddMarker<tbuilder>(TBuilder, Action<svgmarkerelementbuilder>)

Adds a ‘marker’ element configuration to the builder.

public static TBuilder AddMarker<tbuilder>(this TBuilder builder, Action<svgmarkerelementbuilder> configure) where TBuilder : ISVGElementBuilder, IShapeContentElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGMarkerElementBuilder &gt;

The configuration action for the ‘marker’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddMask<tbuilder>(TBuilder, Action<svgmaskelementbuilder>)

Adds a ‘mask’ element configuration to the builder.

public static TBuilder AddMask<tbuilder>(this TBuilder builder, Action<svgmaskelementbuilder> configure) where TBuilder : ISVGElementBuilder, IShapeContentElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGMaskElementBuilder &gt;

The configuration action for the ‘mask’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddMetadata<tbuilder, telement="">(TBuilder, Action<svgmetadataelementbuilder>)

Adds a ‘metadata’ element configuration to the builder. The ‘metadata’ element is used to add metadata to SVG content.

public static TBuilder AddMetadata<tbuilder, telement="">(this TBuilder builder, Action<svgmetadataelementbuilder> configure) where TBuilder : ISVGElementBuilder, IDescriptiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGMetadataElementBuilder &gt;

The configuration action for the ‘metadata’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

TElement

The type representing the ‘metadata’ element in the SVG model.

AddPath<tbuilder>(TBuilder, Action<svgpathelementbuilder>)

Adds a ‘path’ element configuration to the builder.

public static TBuilder AddPath<tbuilder>(this TBuilder builder, Action<svgpathelementbuilder> configure) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGPathElementBuilder &gt;

The configuration action for the ‘path’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddPath<tbuilder>(TBuilder, OneOf<string, action<pathbuilder="">&gt;, 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.

public static TBuilder AddPath<tbuilder>(this TBuilder builder, OneOf<string, action<pathbuilder="">&gt; d, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgpathelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘path’ element will be added.

d OneOf < string , Action < PathBuilder &gt;&gt;

A OneOf type that can either be a string representing the path data or an action that configures a PathBuilder.

fill OneOf < Color , Paint , string &gt;

The fill color or paint style for the path. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color or paint style for the path. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

id string

The unique identifier for the path element. Optional parameter.

extend Action < SVGPathElementBuilder &gt;

An optional action to further configure the path element builder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddPath<tbuilder>(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.

public static TBuilder AddPath<tbuilder>(this TBuilder builder, Action<pathbuilder> d, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgpathelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘path’ element will be added.

d Action < PathBuilder &gt;

An action that configures a PathBuilder to define the path data.

fill OneOf < Color , Paint , string &gt;

The fill color or paint style for the path. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color or paint style for the path. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

id string

The unique identifier for the path element. Optional parameter.

extend Action < SVGPathElementBuilder &gt;

An optional action to further configure the path element builder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddPattern<tbuilder>(TBuilder, Action<svgpatternelementbuilder>)

Adds a ‘pattern’ element configuration to the builder.

public static TBuilder AddPattern<tbuilder>(this TBuilder builder, Action<svgpatternelementbuilder> configure) where TBuilder : ISVGElementBuilder, IPaintServerElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGPatternElementBuilder &gt;

The configuration action for the ‘pattern’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddPattern<tbuilder>(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.

public static TBuilder AddPattern<tbuilder>(this TBuilder builder, CoordinateUnits? patternUnits, CoordinateUnits? patternContentUnits, string href = null, string id = null, Action<svgpatternelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘pattern’ element will be added.

patternUnits CoordinateUnits ?

Specifies the coordinate system for the pattern. Optional parameter.

patternContentUnits CoordinateUnits ?

Specifies the coordinate system for the content within the pattern. Optional parameter.

href string

The reference to another pattern, if applicable. Optional parameter.

id string

The unique identifier for the pattern element. Optional parameter.

extend Action < SVGPatternElementBuilder &gt;

An optional action to further configure the pattern element builder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddPolygon<tbuilder>(TBuilder, Action<svgpolygonelementbuilder>)

Adds a ‘polygon’ element configuration to the builder.

public static TBuilder AddPolygon<tbuilder>(this TBuilder builder, Action<svgpolygonelementbuilder> configure) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGPolygonElementBuilder &gt;

The configuration action for the ‘polygon’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddPolygon<tbuilder>(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.

public static TBuilder AddPolygon<tbuilder>(this TBuilder builder, double[] points, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgpolygonelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘polygon’ element will be added.

points double []

An array of doubles representing the points of the polygon (alternating x and y coordinates).

fill OneOf < Color , Paint , string &gt;

The fill color or paint style for the polygon. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color or paint style for the polygon. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

id string

The unique identifier for the polygon element. Optional parameter.

extend Action < SVGPolygonElementBuilder &gt;

An optional action to further configure the polygon element builder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddPolyline<tbuilder>(TBuilder, Action<svgpolylineelementbuilder>)

Adds a ‘polyline’ element configuration to the builder.

public static TBuilder AddPolyline<tbuilder>(this TBuilder builder, Action<svgpolylineelementbuilder> configure) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGPolylineElementBuilder &gt;

The configuration action for the ‘polyline’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddPolyline<tbuilder>(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.

public static TBuilder AddPolyline<tbuilder>(this TBuilder builder, double[] points, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgpolylineelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘polyline’ element will be added.

points double []

An array of doubles representing the points of the polyline (alternating x and y coordinates).

fill OneOf < Color , Paint , string &gt;

The fill color or paint style for the polyline. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color or paint style for the polyline. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

id string

The unique identifier for the polyline element. Optional parameter.

extend Action < SVGPolylineElementBuilder &gt;

An optional action to further configure the polyline element builder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddRadialGradient<tbuilder>(TBuilder, Action<svgradialgradientelementbuilder>)

Adds a ‘radialGradient’ element configuration to the builder.

public static TBuilder AddRadialGradient<tbuilder>(this TBuilder builder, Action<svgradialgradientelementbuilder> configure) where TBuilder : ISVGElementBuilder, IPaintServerElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGRadialGradientElementBuilder &gt;

The configuration action for the ‘radialGradient’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddRadialGradient<tbuilder>(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.

public static TBuilder AddRadialGradient<tbuilder>(this TBuilder builder, OneOf<double, (double,="" lengthtype)=""> cx = null, OneOf<double, (double,="" lengthtype)=""> cy = null, OneOf<double, (double,="" lengthtype)=""> r = null, OneOf<double, (double,="" lengthtype)=""> fx = null, OneOf<double, (double,="" lengthtype)=""> fy = null, CoordinateUnits? gradientUnits = null, SpreadMethod? spreadMethod = null, string href = null, string id = null, Action<svgradialgradientelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘radialGradient’ element will be added.

cx OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the center of the gradient. Can be a double or a ValueTuple with LengthType. Optional parameter.

cy OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the center of the gradient. Can be a double or a ValueTuple with LengthType. Optional parameter.

r OneOf < double , ( double , LengthType )&gt;

The radius of the gradient. Can be a double or a ValueTuple with LengthType. Optional parameter.

fx OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the focal point of the gradient. Can be a double or a ValueTuple with LengthType. Optional parameter.

fy OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the focal point of the gradient. Can be a double or a ValueTuple with LengthType. Optional parameter.

gradientUnits CoordinateUnits ?

Specifies the coordinate system for the gradient. Optional parameter.

spreadMethod SpreadMethod ?

Defines how the gradient spreads beyond its start and end points. Optional parameter.

href string

The reference to another gradient, if applicable. Optional parameter.

id string

The unique identifier for the gradient element. Optional parameter.

extend Action < SVGRadialGradientElementBuilder &gt;

An optional action to further configure the radial gradient element builder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddRect<tbuilder>(TBuilder, Action<svgrectelementbuilder>)

Adds a ‘rect’ element configuration to the builder.

public static TBuilder AddRect<tbuilder>(this TBuilder builder, Action<svgrectelementbuilder> configure) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGRectElementBuilder &gt;

The configuration action for the ‘rect’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddRect<tbuilder>(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.

public static TBuilder AddRect<tbuilder>(this TBuilder builder, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgrectelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IShapeElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘rect’ element will be added.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate of the rectangle’s starting point. Can be a double value or a tuple of double and LengthType.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate of the rectangle’s starting point. Can be a double value or a tuple of double and LengthType.

width OneOf < double , ( double , LengthType )&gt;

The width of the rectangle. Can be a double value or a tuple of double and LengthType.

height OneOf < double , ( double , LengthType )&gt;

The height of the rectangle. Can be a double value or a tuple of double and LengthType.

fill OneOf < Color , Paint , string &gt;

The fill color or paint style for the rectangle. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color or paint style for the rectangle’s outline. Can be a Color or a Paint enum value or paint server ID. Optional parameter.

id string

The unique identifier for the rectangle element. Optional parameter.

extend Action < SVGRectElementBuilder &gt;

An optional action to further configure the rectangle element builder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddScript<tbuilder>(TBuilder, Action<svgscriptelementbuilder>)

Adds a ‘script’ element configuration to the builder.

public static TBuilder AddScript<tbuilder>(this TBuilder builder, Action<svgscriptelementbuilder> configure) where TBuilder : ISVGElementBuilder, IShapeContentElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGScriptElementBuilder &gt;

The configuration action for the ‘script’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddSet<tbuilder>(TBuilder, Action<svgsetelementbuilder>)

Adds a ‘set’ element configuration to the builder.

public static TBuilder AddSet<tbuilder>(this TBuilder builder, Action<svgsetelementbuilder> configure) where TBuilder : ISVGElementBuilder, IBaseAnimationElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGSetElementBuilder &gt;

The configuration action for the ‘set’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddStop<tbuilder>(TBuilder, Action<svgstopelementbuilder>)

Adds a ‘stop’ element configuration to the builder for defining gradient stops.

public static TBuilder AddStop<tbuilder>(this TBuilder builder, Action<svgstopelementbuilder> configure) where TBuilder : ISVGElementBuilder, IGradientStopElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGStopElementBuilder &gt;

The configuration action for the ‘stop’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddStop<tbuilder>(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.

public static TBuilder AddStop<tbuilder>(this TBuilder builder, Color? stopColor = null, double? stopOpacity = null, OneOf<double, (double,="" stopunittype)=""> offset = null, string id = null, Action<svgstopelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, IGradientStopElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘stop’ element will be added.

stopColor Color ?

The color at the stop. Optional parameter.

stopOpacity double ?

The opacity at the stop. Optional parameter.

offset OneOf < double , ( double , StopUnitType )&gt;

The offset of the stop within the gradient. Can be a double or a ValueTuple with StopUnitType. Optional parameter.

id string

The unique identifier for the stop element. Optional parameter.

extend Action < SVGStopElementBuilder &gt;

An optional action to further configure the stop element builder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddStyle<tbuilder>(TBuilder, Action<svgstyleelementbuilder>)

Adds a ‘style’ element configuration to the builder.

public static TBuilder AddStyle<tbuilder>(this TBuilder builder, Action<svgstyleelementbuilder> configure) where TBuilder : ISVGElementBuilder, IShapeContentElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGStyleElementBuilder &gt;

The configuration action for the ‘style’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddSvg<tbuilder>(TBuilder, Action<svgsvgelementbuilder>)

Adds an ‘svg’ (scalable vector graphics) element configuration to the builder.

public static TBuilder AddSvg<tbuilder>(this TBuilder builder, Action<svgsvgelementbuilder> configure) where TBuilder : ISVGElementBuilder, IStructuralElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGSVGElementBuilder &gt;

The configuration action for the ‘svg’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddSwitch<tbuilder>(TBuilder, Action<svgswitchelementbuilder>)

Adds a ‘switch’ element configuration to the builder.

public static TBuilder AddSwitch<tbuilder>(this TBuilder builder, Action<svgswitchelementbuilder> configure) where TBuilder : ISVGElementBuilder, ICompositeElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGSwitchElementBuilder &gt;

The configuration action for the ‘switch’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddSymbol<tbuilder>(TBuilder, Action<svgsymbolelementbuilder>)

Adds a ‘symbol’ element configuration to the builder.

public static TBuilder AddSymbol<tbuilder>(this TBuilder builder, Action<svgsymbolelementbuilder> configure) where TBuilder : ISVGElementBuilder, IStructuralElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGSymbolElementBuilder &gt;

The configuration action for the ‘symbol’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddText<tbuilder>(TBuilder, Action<svgtextelementbuilder>)

Adds a ’text’ element configuration to the builder.

public static TBuilder AddText<tbuilder>(this TBuilder builder, Action<svgtextelementbuilder> configure) where TBuilder : ISVGElementBuilder, ICompositeElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGTextElementBuilder &gt;

The configuration action for the ’text’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddText<tbuilder>(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.

public static TBuilder AddText<tbuilder>(this TBuilder builder, string content, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> fontSize = null, FontStyle? fontStyle = null, string fontFamily = null, FontWeight? fontWeight = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svgtextelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, ICompositeElementBuilder

Parameters

builder TBuilder

The builder instance to which the ’text’ element will be added.

content string

The text content to be displayed within the ’text’ element.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate for the text element. Can be a double value or a tuple of double and LengthType.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate for the text element. Can be a double value or a tuple of double and LengthType.

fontSize OneOf < double , ( double , LengthType )&gt;

The font size for the text. Can be a double value or a tuple of double and LengthType.

fontStyle FontStyle ?

The font style for the text (e.g., normal, italic, oblique).

fontFamily string

The font family for the text (e.g., Arial, Verdana).

fontWeight FontWeight ?

The weight (thickness) of the font (e.g., normal, bold).

fill OneOf < Color , Paint , string &gt;

The fill color or paint style for the text. Can be a Color or a Paint enum value or paint server ID.

stroke OneOf < Color , Paint , string &gt;

The stroke color or paint style for the text. Can be a Color or a Paint enum value or paint server ID.

id string

The unique identifier for the text element.

extend Action < SVGTextElementBuilder &gt;

An optional action to further configure the text element builder.

Returns

TBuilder

The builder instance for chaining further additions or configurations.

Type Parameters

TBuilder

The type of the SVG element builder, allowing for chaining.

AddTitle<tbuilder>(TBuilder, Action<svgtitleelementbuilder>)

Adds a ’title’ element configuration to the builder. The ’title’ element is used to provide a title for SVG content.

public static TBuilder AddTitle<tbuilder>(this TBuilder builder, Action<svgtitleelementbuilder> configure) where TBuilder : ISVGElementBuilder, IDescriptiveElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGTitleElementBuilder &gt;

The configuration action for the ’title’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddUse<tbuilder>(TBuilder, Action<svguseelementbuilder>)

Adds a ‘use’ element configuration to the builder.

public static TBuilder AddUse<tbuilder>(this TBuilder builder, Action<svguseelementbuilder> configure) where TBuilder : ISVGElementBuilder, IStructuralElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGUseElementBuilder &gt;

The configuration action for the ‘use’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AddUse<tbuilder>(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.

public static TBuilder AddUse<tbuilder>(this TBuilder builder, string href = null, OneOf<double, (double,="" lengthtype)=""> x = null, OneOf<double, (double,="" lengthtype)=""> y = null, OneOf<double, (double,="" lengthtype)=""> width = null, OneOf<double, (double,="" lengthtype)=""> height = null, OneOf<color, paint,="" string=""> fill = null, OneOf<color, paint,="" string=""> stroke = null, string id = null, Action<svguseelementbuilder> extend = null) where TBuilder : ISVGElementBuilder, ICompositeElementBuilder

Parameters

builder TBuilder

The SVG builder instance to which the ‘use’ element will be added.

href string

The reference to the existing element to be reused. Optional parameter.

x OneOf < double , ( double , LengthType )&gt;

The x-coordinate where the reused element is placed. Can be a double or a ValueTuple with LengthType. Optional parameter.

y OneOf < double , ( double , LengthType )&gt;

The y-coordinate where the reused element is placed. Can be a double or a ValueTuple with LengthType. Optional parameter.

width OneOf < double , ( double , LengthType )&gt;

The width of the reused element. Can be a double or a ValueTuple with LengthType. Optional parameter.

height OneOf < double , ( double , LengthType )&gt;

The height of the reused element. Can be a double or a ValueTuple with LengthType. Optional parameter.

fill OneOf < Color , Paint , string &gt;

The fill color, paint or paint server id for the element. Optional parameter.

stroke OneOf < Color , Paint , string &gt;

The stroke color, paint or paint server id for the element. Optional parameter.

id string

The unique identifier for the element. Optional parameter.

extend Action < SVGUseElementBuilder &gt;

An optional action to further configure the SVGUseElementBuilder.

Returns

TBuilder

The builder instance, allowing for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder, facilitating fluent API usage.

AddView<tbuilder>(TBuilder, Action<svgviewelementbuilder>)

Adds a ‘view’ element configuration to the builder.

public static TBuilder AddView<tbuilder>(this TBuilder builder, Action<svgviewelementbuilder> configure) where TBuilder : ISVGElementBuilder, ICompositeElementBuilder

Parameters

builder TBuilder

The builder instance.

configure Action < SVGViewElementBuilder &gt;

The configuration action for the ‘view’ element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Additive<tbuilder>(TBuilder,   )

public static TBuilder Additive<tbuilder>(this TBuilder builder,    value) where TBuilder : ISVGElementBuilder, IAnimationAdditionAttributeSetter

Parameters

builder TBuilder

value   

Returns

TBuilder

Type Parameters

TBuilder

AlignmentBaseline<tbuilder>(TBuilder, AlignmentBaseline)

Sets the ‘alignment-baseline’ attribute for an SVG element.

public static TBuilder AlignmentBaseline<tbuilder>(this TBuilder builder, AlignmentBaseline value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value AlignmentBaseline

The alignment baseline value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Amplitude<tbuilder>(TBuilder, double)

Sets the ‘amplitude’ attribute for a component transfer function element.

public static TBuilder Amplitude<tbuilder>(this TBuilder builder, double amplitude) where TBuilder : ISVGElementBuilder, ITransferFunctionAttributeSetter

Parameters

builder TBuilder

The builder instance.

amplitude double

The amplitude value for the transfer function.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

AttributeName<tbuilder>(TBuilder, string)

Sets the ‘attributeName’ attribute, specifying the name of the CSS property or attribute to be animated.

public static TBuilder AttributeName<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IAnimationTargetAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The name of the attribute to animate.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

BaselineShift<tbuilder>(TBuilder, BaseLineShift)

Sets the ‘baseline-shift’ attribute for an SVG element using a predefined value.

public static TBuilder BaselineShift<tbuilder>(this TBuilder builder, BaseLineShift value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value BaseLineShift

The baseline shift value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

BaselineShift<tbuilder>(TBuilder, double, LengthType)

Sets the ‘baseline-shift’ attribute for an SVG element using a numeric value.

public static TBuilder BaselineShift<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The numeric value for baseline shift.

type LengthType

The type of length unit.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Begin<tbuilder>(TBuilder, Action<timingvaluebuilder>)

Sets the ‘begin’ attribute, defining when the animation should start.

public static TBuilder Begin<tbuilder>(this TBuilder builder, Action<timingvaluebuilder> configure) where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

configure Action < TimingValueBuilder &gt;

A delegate to configure the timing value.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

By<tbuilder>(TBuilder, double, LengthType)

Sets the ‘by’ attribute, defining the relative offset value for the animation with a specified length type.

public static TBuilder By<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : ISVGElementBuilder, IAnimationValueAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value double

The relative offset value for the animation.

type LengthType

The length type for the ‘by’ value.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

CalcMode<tbuilder>(TBuilder, CalcMode)

Sets the ‘calcMode’ attribute, defining the calculation mode for the animation.

public static TBuilder CalcMode<tbuilder>(this TBuilder builder, CalcMode calcMode) where TBuilder : ISVGElementBuilder, IAnimationValueAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

calcMode CalcMode

The calculation mode for the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Class<tbuilder>(TBuilder, params string[])

Sets the ‘class’ attribute, assigning one or more class names to the SVG element.

public static TBuilder Class<tbuilder>(this TBuilder builder, params string[] value) where TBuilder : ISVGElementBuilder, ICoreAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string []

The class names to assign.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

ClipPath<tbuilder>(TBuilder, Action<clippathbuilder>)

Sets the ‘clip-path’ attribute for an SVG element.

public static TBuilder ClipPath<tbuilder>(this TBuilder builder, Action<clippathbuilder> configure) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

configure Action < ClipPathBuilder &gt;

A delegate to configure the clip path.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

ClipRule<tbuilder>(TBuilder, ClipRule)

Sets the ‘clip-rule’ attribute for an SVG element.

public static TBuilder ClipRule<tbuilder>(this TBuilder builder, ClipRule value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value ClipRule

The clip rule value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Color<tbuilder>(TBuilder, Action<colorbuilder>)

Sets the ‘color’ attribute for an SVG element using a custom configuration.

public static TBuilder Color<tbuilder>(this TBuilder builder, Action<colorbuilder> configure) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

configure Action < ColorBuilder &gt;

A delegate to configure the color.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Color<tbuilder>(TBuilder, Color)

Sets the ‘color’ attribute for an SVG element using a color value.

public static TBuilder Color<tbuilder>(this TBuilder builder, Color colorValue) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

colorValue Color

The color value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

ColorInterpolation<tbuilder>(TBuilder, ColorInterpolation)

Sets the ‘color-interpolation’ attribute for an SVG element.

public static TBuilder ColorInterpolation<tbuilder>(this TBuilder builder, ColorInterpolation value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value ColorInterpolation

The predefined color interpolation value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

ColorInterpolationFilters<tbuilder>(TBuilder, ColorInterpolation)

Sets the ‘color-interpolation-filters’ attribute for an SVG element.

public static TBuilder ColorInterpolationFilters<tbuilder>(this TBuilder builder, ColorInterpolation value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value ColorInterpolation

The predefined color interpolation value for filters to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

ColorProfile<tbuilder>(TBuilder, string)

Sets the ‘color-profile’ attribute for an SVG element.

public static TBuilder ColorProfile<tbuilder>(this TBuilder builder, string value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value string

The color profile value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

ColorRendering<tbuilder>(TBuilder, ColorRendering)

Sets the ‘color-rendering’ attribute for an SVG element using a predefined enum value.

public static TBuilder ColorRendering<tbuilder>(this TBuilder builder, ColorRendering value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value ColorRendering

The ColorRendering enum value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Cursor<tbuilder>(TBuilder, Cursor)

Sets the ‘cursor’ attribute for an SVG element using a predefined enum value.

public static TBuilder Cursor<tbuilder>(this TBuilder builder, Cursor value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value Cursor

The Cursor enum value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Direction<tbuilder>(TBuilder, TextDirection)

Sets the ‘direction’ attribute for an SVG element using a predefined enum value.

public static TBuilder Direction<tbuilder>(this TBuilder builder, TextDirection value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value TextDirection

The TextDirection enum value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Display<tbuilder>(TBuilder, DisplayType)

Sets the ‘display’ attribute for an SVG element using a predefined enum value.

public static TBuilder Display<tbuilder>(this TBuilder builder, DisplayType value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value DisplayType

The DisplayType enum value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

DominantBaseline<tbuilder>(TBuilder, DominantBaseline)

Sets the ‘dominant-baseline’ attribute for an SVG element using a predefined enum value.

public static TBuilder DominantBaseline<tbuilder>(this TBuilder builder, DominantBaseline value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value DominantBaseline

The DominantBaseline enum value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Dur<tbuilder>(TBuilder, TimeSpan)

Sets the ‘dur’ attribute, specifying the duration of the animation.

public static TBuilder Dur<tbuilder>(this TBuilder builder, TimeSpan duration) where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

duration TimeSpan

The duration of the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Dur<tbuilder>(TBuilder, Dur)

Sets the ‘dur’ attribute, specifying the predefined duration type of the animation.

public static TBuilder Dur<tbuilder>(this TBuilder builder, Dur value) where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value Dur

The predefined duration type for the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Dx<tbuilder>(TBuilder, LengthType, params double[])

Sets the ‘dx’ attribute to adjust the horizontal position of each character in the text.

public static TBuilder Dx<tbuilder>(this TBuilder builder, LengthType type = LengthType.Px, params double[] values) where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

type LengthType

The type of length unit for the values.

values double []

The horizontal adjustment values for each character.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Remarks

This method allows fine control over the horizontal spacing of characters in the text.

Dx<tbuilder>(TBuilder, double, LengthType)

Sets a single horizontal adjustment value for the text content.

public static TBuilder Dx<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value double

The horizontal adjustment value.

type LengthType

The type of length unit for the value.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Remarks

This method sets the ‘dx’ attribute with a single value, adjusting the horizontal position of the text content.

Dy<tbuilder>(TBuilder, double[], LengthType)

Sets multiple vertical adjustment values for the text content.

public static TBuilder Dy<tbuilder>(this TBuilder builder, double[] values, LengthType type = LengthType.Px) where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

values double []

The array of vertical adjustment values.

type LengthType

The type of length unit for the values.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Remarks

This method sets the ‘dy’ attribute with multiple values, allowing for individual vertical adjustments for each character or text segment.

Dy<tbuilder>(TBuilder, double, LengthType)

Sets a single vertical adjustment value for the text content.

public static TBuilder Dy<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value double

The vertical adjustment value.

type LengthType

The type of length unit for the value.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Remarks

This method sets the ‘dy’ attribute with a single value, adjusting the vertical position of the text content.

End<tbuilder>(TBuilder, Action<timingvaluebuilder>)

Sets the ’end’ attribute, defining when the animation should end.

public static TBuilder End<tbuilder>(this TBuilder builder, Action<timingvaluebuilder> configure) where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

configure Action < TimingValueBuilder &gt;

A delegate to configure the timing value.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Exponent<tbuilder>(TBuilder, double)

Sets the ’exponent’ attribute for a component transfer function element.

public static TBuilder Exponent<tbuilder>(this TBuilder builder, double exponent) where TBuilder : ISVGElementBuilder, ITransferFunctionAttributeSetter

Parameters

builder TBuilder

The builder instance.

exponent double

The exponent value for the transfer function.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Fill<tbuilder>(TBuilder, AnimationFill)

Sets the ‘fill’ attribute, defining how the animation should apply styles outside its active duration.

public static TBuilder Fill<tbuilder>(this TBuilder builder, AnimationFill value) where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value AnimationFill

The fill behavior of the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Fill<tbuilder>(TBuilder, Action<paintbuilder>)

Sets the ‘fill’ attribute for an SVG element using a custom configuration.

public static TBuilder Fill<tbuilder>(this TBuilder builder, Action<paintbuilder> configure) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

configure Action < PaintBuilder &gt;

A delegate to configure the PaintBuilder.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Fill<tbuilder>(TBuilder, Color)

Sets the ‘fill’ attribute for an SVG element using a color.

public static TBuilder Fill<tbuilder>(this TBuilder builder, Color color) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

color Color

The color to set as the fill.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Fill<tbuilder>(TBuilder, Paint)

Sets the ‘fill’ attribute for an SVG element using a predefined Paint enum value.

public static TBuilder Fill<tbuilder>(this TBuilder builder, Paint paint) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

paint Paint

The Paint enum value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

FillOpacity<tbuilder>(TBuilder, double)

Sets the ‘fill-opacity’ attribute for an SVG element. Value must be between 0.0 (fully transparent) and 1.0 (fully opaque).

public static TBuilder FillOpacity<tbuilder>(this TBuilder builder, double opacity) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

opacity double

The opacity value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Exceptions

ArgumentOutOfRangeException

Thrown if opacity is not in the valid range.

FillRule<tbuilder>(TBuilder, FillRule)

Sets the ‘fill-rule’ attribute for an SVG element using a predefined FillRule enum value.

public static TBuilder FillRule<tbuilder>(this TBuilder builder, FillRule value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value FillRule

The FillRule enum value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Filter<tbuilder>(TBuilder, Action<filtervaluelistbuilder>)

Sets the ‘filter’ attribute for an SVG element using a custom configuration.

public static TBuilder Filter<tbuilder>(this TBuilder builder, Action<filtervaluelistbuilder> configure) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

configure Action < FilterValueListBuilder &gt;

A delegate to configure the FilterValueListBuilder.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

FloodColor<tbuilder>(TBuilder, Color)

Sets the ‘flood-color’ attribute for an SVG element using a System.Drawing color.

public static TBuilder FloodColor<tbuilder>(this TBuilder builder, Color colorValue) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

colorValue Color

The color to set as the flood color.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

FloodColor<tbuilder>(TBuilder, Action<colorbuilder>)

Sets the ‘flood-color’ attribute for an SVG element using a custom color configuration.

public static TBuilder FloodColor<tbuilder>(this TBuilder builder, Action<colorbuilder> configure) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

configure Action < ColorBuilder &gt;

A delegate to configure the ColorBuilder.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

FloodOpacity<tbuilder>(TBuilder, double)

Sets the ‘flood-opacity’ attribute for an SVG element. Value must be between 0.0 (fully transparent) and 1.0 (fully opaque).

public static TBuilder FloodOpacity<tbuilder>(this TBuilder builder, double opacity) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

opacity double

The opacity value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Exceptions

ArgumentOutOfRangeException

Thrown if opacity is not in the valid range.

FontFamily<tbuilder>(TBuilder, string)

Sets the ‘font-family’ attribute for an SVG element.

public static TBuilder FontFamily<tbuilder>(this TBuilder builder, string value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value string

The font family to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

FontKerning<tbuilder>(TBuilder, double, LengthType)

Sets the ‘font-kerning’ attribute for an SVG element using a numeric value and a specific length type.

public static TBuilder FontKerning<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The font kerning value to set.

type LengthType

The length type (e.g., px, em).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

FontKerning<tbuilder>(TBuilder, Kerning)

Sets the ‘font-kerning’ attribute for an SVG element using a predefined kerning value.

public static TBuilder FontKerning<tbuilder>(this TBuilder builder, Kerning value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value Kerning

The predefined kerning value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

FontSize<tbuilder>(TBuilder, double, LengthType)

Sets the ‘font-size’ attribute for an SVG element using a numeric value and a specific length type.

public static TBuilder FontSize<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The font size value to set.

type LengthType

The length type (e.g., px, em).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

FontSize<tbuilder>(TBuilder, FontSize)

Sets the ‘font-size’ attribute for an SVG element using a predefined font size value.

public static TBuilder FontSize<tbuilder>(this TBuilder builder, FontSize value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value FontSize

The predefined font size value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

FontSizeAdjust<tbuilder>(TBuilder, double)

Sets the ‘font-size-adjust’ attribute for an SVG element.

public static TBuilder FontSizeAdjust<tbuilder>(this TBuilder builder, double value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The font size adjust value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

FontSizeAdjust<tbuilder>(TBuilder,   )

public static TBuilder FontSizeAdjust<tbuilder>(this TBuilder builder,    value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

value   

Returns

TBuilder

Type Parameters

TBuilder

FontStretch<tbuilder>(TBuilder, FontStretch)

Sets the ‘font-stretch’ attribute for an SVG element using a predefined font stretch value.

public static TBuilder FontStretch<tbuilder>(this TBuilder builder, FontStretch value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value FontStretch

The predefined font stretch value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

FontStyle<tbuilder>(TBuilder, FontStyle)

Sets the ‘font-style’ attribute for an SVG element using a predefined font style value.

public static TBuilder FontStyle<tbuilder>(this TBuilder builder, FontStyle value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value FontStyle

The predefined font style value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

FontVariant<tbuilder>(TBuilder, string)

Sets the ‘font-variant’ attribute for an SVG element.

public static TBuilder FontVariant<tbuilder>(this TBuilder builder, string value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value string

The font variant value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

FontWeight<tbuilder>(TBuilder, FontWeight)

Sets the ‘font-weight’ attribute for an SVG element using a predefined font weight value.

public static TBuilder FontWeight<tbuilder>(this TBuilder builder, FontWeight value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value FontWeight

The predefined font weight value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

FormatSvgLengths(double[], LengthType)

Formats an array of double values into a string representation of SVG lengths.

public static string FormatSvgLengths(double[] values, LengthType type)

Parameters

values double []

The array of double values representing lengths.

type LengthType

The type of length unit to use (e.g., pixels).

Returns

string

A formatted string of SVG lengths.

Remarks

This utility method is used to format length values for SVG attributes, appending the appropriate unit (like ‘px’) to each value.

From<tbuilder>(TBuilder, double, LengthType)

Sets the ‘from’ attribute, defining the starting value of the animation with a specified length type.

public static TBuilder From<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : ISVGElementBuilder, IAnimationValueAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value double

The starting value for the animation.

type LengthType

The length type for the ‘from’ value.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

GlyphOrientationVertical<tbuilder>(TBuilder, TextOrientation)

Sets the ‘glyph-orientation-vertical’ attribute for an SVG element, specifying the orientation of glyphs.

public static TBuilder GlyphOrientationVertical<tbuilder>(this TBuilder builder, TextOrientation orientation) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

orientation TextOrientation

The text orientation value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

GradientTransform<tbuilder>(TBuilder, Func<transformbuilder, transformbuilder="">)

Sets the ‘gradientTransform’ attribute for a gradient element.

public static TBuilder GradientTransform<tbuilder>(this TBuilder builder, Func<transformbuilder, transformbuilder=""> configure) where TBuilder : ISVGElementBuilder, IGradientStopElementBuilder

Parameters

builder TBuilder

The SVG element builder to which the attribute is applied.

configure Func < TransformBuilder , TransformBuilder &gt;

A function to configure the SVG transform builder.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

GradientUnits<tbuilder>(TBuilder, CoordinateUnits)

Sets the ‘gradientUnits’ attribute for a gradient element.

public static TBuilder GradientUnits<tbuilder>(this TBuilder builder, CoordinateUnits units) where TBuilder : ISVGElementBuilder, IGradientStopElementBuilder

Parameters

builder TBuilder

The SVG element builder to which the attribute is applied.

units CoordinateUnits

The coordinate units for the gradient (userSpaceOnUse or objectBoundingBox).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Height<tbuilder>(TBuilder, double, LengthType)

Sets the ‘height’ attribute for an SVG element.

public static TBuilder Height<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : ISVGElementBuilder, IHeightAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The value for the ‘height’ attribute.

type LengthType

The type of length measurement (default is pixels).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Href<tbuilder>(TBuilder, string)

Sets the ‘href’ attribute for an SVG element, specifying a URL to link to.

public static TBuilder Href<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IAnimationTargetElementAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The URL to link to.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Id<tbuilder>(TBuilder, string)

Sets the ‘id’ attribute, assigning a unique identifier to the SVG element.

public static TBuilder Id<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, ICoreAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The unique identifier for the element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

ImageRendering<tbuilder>(TBuilder, ImageRendering)

Sets the ‘image-rendering’ attribute for an SVG element, specifying the rendering quality of images.

public static TBuilder ImageRendering<tbuilder>(this TBuilder builder, ImageRendering value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value ImageRendering

The image rendering value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

In<tbuilder>(TBuilder, string)

Sets the ‘in’ attribute for an SVG filter primitive.

public static TBuilder In<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IFilterPrimitiveInAttributeSetter

Parameters

builder TBuilder

The builder instance.

value string

The source graphic or filter primitive result to use as input.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

In<tbuilder>(TBuilder, FilterInput)

Sets the ‘in’ attribute for an SVG filter primitive using a predefined input source.

public static TBuilder In<tbuilder>(this TBuilder builder, FilterInput input) where TBuilder : ISVGElementBuilder, IFilterPrimitiveInAttributeSetter

Parameters

builder TBuilder

The builder instance.

input FilterInput

The predefined input source (e.g., SourceGraphic, SourceAlpha).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Intercept<tbuilder>(TBuilder, double)

Sets the ‘intercept’ attribute for a component transfer function element.

public static TBuilder Intercept<tbuilder>(this TBuilder builder, double intercept) where TBuilder : ISVGElementBuilder, ITransferFunctionAttributeSetter

Parameters

builder TBuilder

The builder instance.

intercept double

The intercept value for the transfer function.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

KeySplines<tbuilder>(TBuilder, Action<animationsplinebuilder>)

Sets the ‘keySplines’ attribute, specifying the control points for the pacing of the animation.

public static TBuilder KeySplines<tbuilder>(this TBuilder builder, Action<animationsplinebuilder> buildSplines) where TBuilder : ISVGElementBuilder, IAnimationValueAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

buildSplines Action < AnimationSplineBuilder &gt;

The action to build the spline configuration.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

KeyTimes<tbuilder>(TBuilder, params double[])

Sets the ‘keyTimes’ attribute, defining the times at which the key values are applied.

public static TBuilder KeyTimes<tbuilder>(this TBuilder builder, params double[] keyTimes) where TBuilder : ISVGElementBuilder, IAnimationValueAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

keyTimes double []

The array of key times for the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Lang<tbuilder>(TBuilder, string)

Sets the ’lang’ attribute, specifying the language of the element’s content.

public static TBuilder Lang<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, ICoreAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The language code for the element’s content.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

LengthAdjust<tbuilder>(TBuilder, LengthAdjust)

Sets the method of length adjustment for the text content.

public static TBuilder LengthAdjust<tbuilder>(this TBuilder builder, LengthAdjust value) where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value LengthAdjust

The length adjustment method.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Remarks

This method sets the ’lengthAdjust’ attribute, determining how text length is adjusted, either by spacing or by scaling.

LetterSpacing<tbuilder>(TBuilder, double, LengthType)

Sets the ’letter-spacing’ attribute for an SVG element using a numeric value and a specific length type.

public static TBuilder LetterSpacing<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The letter spacing value to set.

type LengthType

The length type (e.g., px, em).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

LetterSpacing<tbuilder>(TBuilder, Spacing)

Sets the ’letter-spacing’ attribute for an SVG element using a predefined spacing value.

public static TBuilder LetterSpacing<tbuilder>(this TBuilder builder, Spacing value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value Spacing

The predefined spacing value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

LightingColor<tbuilder>(TBuilder, Color)

Sets the ’lighting-color’ attribute for an SVG element using a specified color value.

public static TBuilder LightingColor<tbuilder>(this TBuilder builder, Color colorValue) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

colorValue Color

The color value to set for the lighting effect.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

LightingColor<tbuilder>(TBuilder, Action<colorbuilder>)

Sets the ’lighting-color’ attribute for an SVG element using a custom color configuration.

public static TBuilder LightingColor<tbuilder>(this TBuilder builder, Action<colorbuilder> configure) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

configure Action < ColorBuilder &gt;

A delegate to configure the color.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

MarkerEnd<tbuilder>(TBuilder, string)

Sets the ‘marker-end’ attribute for an SVG element, specifying the marker at the end of a path.

public static TBuilder MarkerEnd<tbuilder>(this TBuilder builder, string markerId) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

markerId string

The ID of the marker to use.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

MarkerEnd<tbuilder>(TBuilder, MarkerPos)

Sets the ‘marker-end’ attribute for an SVG element using a predefined marker position.

public static TBuilder MarkerEnd<tbuilder>(this TBuilder builder, MarkerPos value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value MarkerPos

The marker position value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

MarkerMid<tbuilder>(TBuilder, string)

Sets the ‘marker-mid’ attribute for an SVG element, specifying the marker at the mid points of a path.

public static TBuilder MarkerMid<tbuilder>(this TBuilder builder, string markerId) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

markerId string

The ID of the marker to use.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

MarkerMid<tbuilder>(TBuilder, MarkerPos)

Sets the ‘marker-mid’ attribute for an SVG element using a predefined marker position.

public static TBuilder MarkerMid<tbuilder>(this TBuilder builder, MarkerPos value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value MarkerPos

The marker position value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

MarkerStart<tbuilder>(TBuilder, string)

Sets the ‘marker-start’ attribute for an SVG element, specifying the marker at the start of a path.

public static TBuilder MarkerStart<tbuilder>(this TBuilder builder, string markerId) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

markerId string

The ID of the marker to use.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

MarkerStart<tbuilder>(TBuilder, MarkerPos)

Sets the ‘marker-start’ attribute for an SVG element using a predefined marker position.

public static TBuilder MarkerStart<tbuilder>(this TBuilder builder, MarkerPos value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value MarkerPos

The marker position value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Mask<tbuilder>(TBuilder, Action<maskbuilder>)

Sets the ‘mask’ attribute for an SVG element using a custom mask configuration.

public static TBuilder Mask<tbuilder>(this TBuilder builder, Action<maskbuilder> configure) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

configure Action < MaskBuilder &gt;

A delegate to configure the mask.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Max<tbuilder>(TBuilder, TimeSpan)

Sets the ‘max’ attribute, specifying the maximum duration of the animation.

public static TBuilder Max<tbuilder>(this TBuilder builder, TimeSpan duration) where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

duration TimeSpan

The maximum duration of the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Max<tbuilder>(TBuilder, Media)

Sets the ‘max’ attribute, specifying the predefined maximum duration condition for the animation.

public static TBuilder Max<tbuilder>(this TBuilder builder, Media value) where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value Media

The predefined maximum duration condition for the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Min<tbuilder>(TBuilder, TimeSpan)

Sets the ‘min’ attribute, specifying the minimum duration of the animation.

public static TBuilder Min<tbuilder>(this TBuilder builder, TimeSpan duration) where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

duration TimeSpan

The minimum duration of the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Min<tbuilder>(TBuilder, Media)

Sets the ‘min’ attribute, specifying the minimum duration condition for the animation based on media.

public static TBuilder Min<tbuilder>(this TBuilder builder, Media value) where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value Media

The media-related minimum duration condition for the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Offset<tbuilder>(TBuilder, double)

Sets the ‘offset’ attribute for a component transfer function element.

public static TBuilder Offset<tbuilder>(this TBuilder builder, double offset) where TBuilder : ISVGElementBuilder, ITransferFunctionAttributeSetter

Parameters

builder TBuilder

The builder instance.

offset double

The offset value for the transfer function.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnAbort<tbuilder>(TBuilder, string)

Sets the ‘onabort’ event attribute, defining a script to run when the loading of an SVG document is aborted.

public static TBuilder OnAbort<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IDocumentEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the document loading is aborted.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnBegin<tbuilder>(TBuilder, string)

Sets the ‘onbegin’ attribute, defining a script to be run at the start of the animation.

public static TBuilder OnBegin<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IAnimationEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The script to run when the animation begins.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnCanPlay<tbuilder>(TBuilder, string)

Sets the ‘oncanplay’ event attribute for handling media playability checks.

public static TBuilder OnCanPlay<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when media can start playing.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnCanPlayThrough<tbuilder>(TBuilder, string)

Sets the ‘oncanplaythrough’ event attribute for handling media playability without interruption.

public static TBuilder OnCanPlayThrough<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when media can play through to the end without stopping for buffering.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnCancel<tbuilder>(TBuilder, string)

Sets the ‘oncancel’ event attribute for handling user cancellation actions.

public static TBuilder OnCancel<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute on cancel events.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnChange<tbuilder>(TBuilder, string)

Sets the ‘onchange’ event attribute for handling changes in the element’s value.

public static TBuilder OnChange<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the element’s value changes.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnClick<tbuilder>(TBuilder, string)

Sets the ‘onclick’ event attribute for handling click events on the element.

public static TBuilder OnClick<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute on click events.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnClose<tbuilder>(TBuilder, string)

Sets the ‘onclose’ event attribute for handling close actions on dialog elements.

public static TBuilder OnClose<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a dialog is closed.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnCopy<tbuilder>(TBuilder, string)

Sets the ‘oncopy’ event attribute, defining a script to run when content is copied from the SVG element.

public static TBuilder OnCopy<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IDocumentElementEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute on the copy event.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnCueChange<tbuilder>(TBuilder, string)

Sets the ‘oncuechange’ event attribute for handling changes in the text track’s active cues.

public static TBuilder OnCueChange<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the text track’s active cues change.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnCut<tbuilder>(TBuilder, string)

Sets the ‘oncut’ event attribute, defining a script to run when content is cut from the SVG element.

public static TBuilder OnCut<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IDocumentElementEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute on the cut event.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnDblClick<tbuilder>(TBuilder, string)

Sets the ‘ondblclick’ event attribute for handling double-click events on the element.

public static TBuilder OnDblClick<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute on double-click events.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnDrag<tbuilder>(TBuilder, string)

Sets the ‘ondrag’ event attribute for handling drag actions on the element.

public static TBuilder OnDrag<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute during a drag operation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnDragEnd<tbuilder>(TBuilder, string)

Sets the ‘ondragend’ event attribute for handling the end of a drag operation.

public static TBuilder OnDragEnd<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a drag operation ends.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnDragEnter<tbuilder>(TBuilder, string)

Sets the ‘ondragenter’ event attribute for handling the entry of a dragged item into a valid drop target.

public static TBuilder OnDragEnter<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a dragged item enters a valid drop target.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnDragExit<tbuilder>(TBuilder, string)

Sets the ‘ondragexit’ event attribute for handling the exit of a dragged item from a valid drop target.

public static TBuilder OnDragExit<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a dragged item exits a valid drop target.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnDragLeave<tbuilder>(TBuilder, string)

Sets the ‘ondragleave’ event attribute for handling the leaving of a dragged item from a valid drop target.

public static TBuilder OnDragLeave<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a dragged item leaves a valid drop target.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnDragOver<tbuilder>(TBuilder, string)

Sets the ‘ondragover’ event attribute for handling the dragging of an item over a valid drop target.

public static TBuilder OnDragOver<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when an item is being dragged over a valid drop target.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnDragStart<tbuilder>(TBuilder, string)

Sets the ‘ondragstart’ event attribute for handling the start of a drag operation.

public static TBuilder OnDragStart<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a drag operation starts.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnDrop<tbuilder>(TBuilder, string)

Sets the ‘ondrop’ event attribute for handling the dropping of an item onto a valid drop target.

public static TBuilder OnDrop<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when an item is dropped onto a valid drop target.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnDurationChange<tbuilder>(TBuilder, string)

Sets the ‘ondurationchange’ event attribute for handling changes in the duration of the media.

public static TBuilder OnDurationChange<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the duration of the media changes.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnEmptied<tbuilder>(TBuilder, string)

Sets the ‘onemptied’ event attribute for handling the emptying of the media element’s source.

public static TBuilder OnEmptied<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the media element’s source is emptied.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnEnd<tbuilder>(TBuilder, string)

Sets the ‘onend’ attribute, defining a script to be run at the end of the animation.

public static TBuilder OnEnd<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IAnimationEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The script to run when the animation ends.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnEnded<tbuilder>(TBuilder, string)

Sets the ‘onended’ event attribute for handling the end of media playback.

public static TBuilder OnEnded<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when media playback ends.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnError<tbuilder>(TBuilder, string)

Sets the ‘onerror’ event attribute for handling error events on the element.

public static TBuilder OnError<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, ICommonEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when an error occurs.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnFocus<tbuilder>(TBuilder, string)

Sets the ‘onfocus’ event attribute for handling focus events on the element.

public static TBuilder OnFocus<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the element receives focus.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnFocusIn<tbuilder>(TBuilder, string)

Sets the ‘onfocusin’ event attribute for handling focus-in events on the element.

public static TBuilder OnFocusIn<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGraphicalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the element receives focus, typically before the ‘onfocus’ event.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Remarks

The ‘onfocusin’ event is triggered when an element is about to receive focus. This event differs from ‘onfocus’ in that it supports bubbling and can be used to detect focus changes on child elements as well.

OnFocusOut<tbuilder>(TBuilder, string)

Sets the ‘onfocusout’ event attribute for handling focus-out events on the element.

public static TBuilder OnFocusOut<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGraphicalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the element loses focus, typically before the ‘onblur’ event.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Remarks

The ‘onfocusout’ event is triggered when an element is about to lose focus. Similar to ‘onfocusin’, this event supports bubbling and can be used to detect focus changes on child elements as well.

OnInput<tbuilder>(TBuilder, string)

Sets the ‘oninput’ event attribute for handling input events on the element.

public static TBuilder OnInput<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the element receives user input.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnInvalid<tbuilder>(TBuilder, string)

Sets the ‘oninvalid’ event attribute for handling invalid events on form elements.

public static TBuilder OnInvalid<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the element’s value is invalid.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnKeyDown<tbuilder>(TBuilder, string)

Sets the ‘onkeydown’ event attribute for handling keydown events on the element.

public static TBuilder OnKeyDown<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a key is pressed down.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnKeyPress<tbuilder>(TBuilder, string)

Sets the ‘onkeypress’ event attribute for handling keypress events on the element.

public static TBuilder OnKeyPress<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a key is pressed and released.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnKeyUp<tbuilder>(TBuilder, string)

Sets the ‘onkeyup’ event attribute for handling keyup events on the element.

public static TBuilder OnKeyUp<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a key is released.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnLoad<tbuilder>(TBuilder, string)

Sets the ‘onload’ event attribute for handling load events on the element.

public static TBuilder OnLoad<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the element has finished loading.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnLoadStart<tbuilder>(TBuilder, string)

Sets the ‘onloadstart’ event attribute for handling events at the start of a media load operation.

public static TBuilder OnLoadStart<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute at the start of the load operation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnLoadedData<tbuilder>(TBuilder, string)

Sets the ‘onloadeddata’ event attribute for handling events when media data is loaded.

public static TBuilder OnLoadedData<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the media data is loaded.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnLoadedMetadata<tbuilder>(TBuilder, string)

Sets the ‘onloadedmetadata’ event attribute for handling events when media metadata is loaded.

public static TBuilder OnLoadedMetadata<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the media metadata is loaded.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnMouseDown<tbuilder>(TBuilder, string)

Sets the ‘onmousedown’ event attribute for handling mouse down events on the element.

public static TBuilder OnMouseDown<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a mouse button is pressed down on the element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnMouseEnter<tbuilder>(TBuilder, string)

Sets the ‘onmouseenter’ event attribute for handling mouse enter events on the element.

public static TBuilder OnMouseEnter<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the mouse pointer enters the element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnMouseLeave<tbuilder>(TBuilder, string)

Sets the ‘onmouseleave’ event attribute for handling mouse leave events on the element.

public static TBuilder OnMouseLeave<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the mouse pointer leaves the element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnMouseMove<tbuilder>(TBuilder, string)

Sets the ‘onmousemove’ event attribute for handling mouse move events on the element.

public static TBuilder OnMouseMove<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the mouse pointer moves within the element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnMouseOut<tbuilder>(TBuilder, string)

Sets the ‘onmouseout’ event attribute for handling mouse out events on the element.

public static TBuilder OnMouseOut<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the mouse pointer moves out of the element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnMouseOver<tbuilder>(TBuilder, string)

Sets the ‘onmouseover’ event attribute for handling mouse over events on the element.

public static TBuilder OnMouseOver<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the mouse pointer is over the element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnMouseUp<tbuilder>(TBuilder, string)

Sets the ‘onmouseup’ event attribute for handling mouse up events on the element.

public static TBuilder OnMouseUp<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a mouse button is released over the element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnMouseWheel<tbuilder>(TBuilder, string)

Sets the ‘onmousewheel’ event attribute for handling mouse wheel events on the element.

public static TBuilder OnMouseWheel<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the mouse wheel is used over the element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnPaste<tbuilder>(TBuilder, string)

Sets the ‘onpaste’ event attribute, defining a script to run when content is pasted into the SVG element.

public static TBuilder OnPaste<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IDocumentElementEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute on the paste event.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnPause<tbuilder>(TBuilder, string)

Sets the ‘onpause’ event attribute for handling pause events, typically for media elements.

public static TBuilder OnPause<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the media is paused.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnPlay<tbuilder>(TBuilder, string)

Sets the ‘onplay’ event attribute for handling play events, typically for media elements.

public static TBuilder OnPlay<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the media starts to play.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnPlaying<tbuilder>(TBuilder, string)

Sets the ‘onplaying’ event attribute for handling events when the media is actively playing after being paused or stopped for buffering.

public static TBuilder OnPlaying<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the media is actively playing.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnProgress<tbuilder>(TBuilder, string)

Sets the ‘onprogress’ event attribute for handling events to indicate the progress of an ongoing process.

public static TBuilder OnProgress<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute to indicate the progress of an ongoing process.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnRateChange<tbuilder>(TBuilder, string)

Sets the ‘onratechange’ event attribute for handling events when the playback rate of media is changed.

public static TBuilder OnRateChange<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the playback rate changes.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnRepeat<tbuilder>(TBuilder, string)

Sets the ‘onrepeat’ attribute, defining a script to be run each time the animation repeats.

public static TBuilder OnRepeat<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IAnimationEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The script to run on each repeat of the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnReset<tbuilder>(TBuilder, string)

Sets the ‘onreset’ event attribute for handling reset events on forms.

public static TBuilder OnReset<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a form is reset.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnResize<tbuilder>(TBuilder, string)

Sets the ‘onresize’ event attribute for handling resize events of the window or elements.

public static TBuilder OnResize<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, ICommonEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the element or window is resized.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnScroll<tbuilder>(TBuilder, string)

Sets the ‘onscroll’ event attribute for handling scroll events on the element.

public static TBuilder OnScroll<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, ICommonEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the element is scrolled.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnSeeked<tbuilder>(TBuilder, string)

Sets the ‘onseeked’ event attribute for handling events when a seek operation on media is completed.

public static TBuilder OnSeeked<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the seek operation is completed.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnSeeking<tbuilder>(TBuilder, string)

Sets the ‘onseeking’ event attribute for handling events when a seek operation on media is started.

public static TBuilder OnSeeking<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the seek operation is started.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnSelect<tbuilder>(TBuilder, string)

Sets the ‘onselect’ event attribute for handling text selection events on the element.

public static TBuilder OnSelect<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when text is selected within the element.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnShow<tbuilder>(TBuilder, string)

Sets the ‘onshow’ event attribute, typically used for handling events when a context menu is shown.

public static TBuilder OnShow<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a context menu is shown.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnStalled<tbuilder>(TBuilder, string)

Sets the ‘onstalled’ event attribute for handling events when media data transfer is unexpectedly halted.

public static TBuilder OnStalled<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when media data transfer stalls.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnSubmit<tbuilder>(TBuilder, string)

Sets the ‘onsubmit’ event attribute for handling form submission events.

public static TBuilder OnSubmit<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a form is submitted.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnSuspend<tbuilder>(TBuilder, string)

Sets the ‘onsuspend’ event attribute for handling events when media data loading is suspended.

public static TBuilder OnSuspend<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when media data loading is suspended.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnTimeUpdate<tbuilder>(TBuilder, string)

Sets the ‘ontimeupdate’ event attribute for handling events when the current playback position of media changes.

public static TBuilder OnTimeUpdate<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the current playback position changes.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnToggle<tbuilder>(TBuilder, string)

Sets the ‘ontoggle’ event attribute for handling events when the user toggles a control, like a details element.

public static TBuilder OnToggle<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when a control is toggled.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnUnload<tbuilder>(TBuilder, string)

Sets the ‘onunload’ event attribute, defining a script to run when the SVG document is unloaded.

public static TBuilder OnUnload<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IDocumentEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the document is unloaded.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnVolumeChange<tbuilder>(TBuilder, string)

Sets the ‘onvolumechange’ event attribute for handling events when the volume of media changes.

public static TBuilder OnVolumeChange<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when the volume changes.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

OnWaiting<tbuilder>(TBuilder, string)

Sets the ‘onwaiting’ event attribute for handling events when media playback is delayed due to data buffering.

public static TBuilder OnWaiting<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value string

The JavaScript function or script to execute when media playback is delayed for buffering.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Opacity<tbuilder>(TBuilder, double)

Sets the ‘opacity’ attribute for an SVG element, defining its transparency level.

public static TBuilder Opacity<tbuilder>(this TBuilder builder, double opacity) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

opacity double

The opacity value (0.0 for fully transparent, 1.0 for fully opaque).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Overflow<tbuilder>(TBuilder, Overflow)

Sets the ‘overflow’ attribute for an SVG element, controlling how overflow is handled.

public static TBuilder Overflow<tbuilder>(this TBuilder builder, Overflow value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value Overflow

The overflow handling method to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

PaintOrder<tbuilder>(TBuilder, PaintOrder)

Sets the ‘paint-order’ attribute for an SVG element, determining the order of painting fill, stroke, and markers.

public static TBuilder PaintOrder<tbuilder>(this TBuilder builder, PaintOrder value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value PaintOrder

The paint order value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

PathLength<tbuilder>(TBuilder, double)

Sets the ‘pathLength’ attribute for an SVG path element.

public static TBuilder PathLength<tbuilder>(this TBuilder builder, double value) where TBuilder : ISVGElementBuilder, IShapeAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The total length for the path.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

PointerEvents<tbuilder>(TBuilder, PointerEvents)

Sets the ‘pointer-events’ attribute for an SVG element, defining how the element reacts to pointer events.

public static TBuilder PointerEvents<tbuilder>(this TBuilder builder, PointerEvents value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value PointerEvents

The pointer events value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Points<tbuilder>(TBuilder, params double[])

Sets the ‘points’ attribute for an SVG element using an array of doubles.

public static TBuilder Points<tbuilder>(this TBuilder builder, params double[] points) where TBuilder : ISVGElementBuilder, IPointsAttributeSetter

Parameters

builder TBuilder

The builder instance.

points double []

An array of doubles representing the points (must be an even number).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Exceptions

ArgumentException

Thrown if an odd number of points are provided.

Points<tbuilder>(TBuilder, params PointF[])

Sets the ‘points’ attribute for an SVG element using an array of PointF objects.

public static TBuilder Points<tbuilder>(this TBuilder builder, params PointF[] points) where TBuilder : ISVGElementBuilder, IPointsAttributeSetter

Parameters

builder TBuilder

The builder instance.

points PointF []

An array of PointF objects representing the points.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Rect<tbuilder>(TBuilder, double, double, double, double, LengthType)

Sets the ‘x’, ‘y’, ‘width’, and ‘height’ attributes for an SVG element to define a rectangle.

public static TBuilder Rect<tbuilder>(this TBuilder builder, double x, double y, double width, double height, LengthType type = LengthType.Px) where TBuilder : ISVGElementBuilder, IRectAttributeSetter

Parameters

builder TBuilder

The builder instance.

x double

The x-coordinate of the rectangle.

y double

The y-coordinate of the rectangle.

width double

The width of the rectangle.

height double

The height of the rectangle.

type LengthType

The type of length measurement for all dimensions (default is pixels).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

RefX<tbuilder>(TBuilder, double, LengthType)

Sets the ‘refX’ attribute for an SVG element.

public static TBuilder RefX<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : ISVGElementBuilder, IRefCoordinatesAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The reference X coordinate.

type LengthType

The type of length unit (default is pixels).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

RefX<tbuilder>(TBuilder, HorizontalPosition)

Sets the ‘refX’ attribute for an SVG element using a predefined horizontal position.

public static TBuilder RefX<tbuilder>(this TBuilder builder, HorizontalPosition value) where TBuilder : ISVGElementBuilder, IRefCoordinatesAttributeSetter

Parameters

builder TBuilder

The builder instance.

value HorizontalPosition

The predefined horizontal position.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

RefY<tbuilder>(TBuilder, double, LengthType)

Sets the ‘refY’ attribute for an SVG element.

public static TBuilder RefY<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : ISVGElementBuilder, IRefCoordinatesAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The reference Y coordinate.

type LengthType

The type of length unit (default is pixels).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

RefY<tbuilder>(TBuilder, VerticalPosition)

Sets the ‘refY’ attribute for an SVG element using a predefined vertical position.

public static TBuilder RefY<tbuilder>(this TBuilder builder, VerticalPosition value) where TBuilder : ISVGElementBuilder, IRefCoordinatesAttributeSetter

Parameters

builder TBuilder

The builder instance.

value VerticalPosition

The predefined vertical position.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

RepeatCount<tbuilder>(TBuilder, int)

Sets the ‘repeatCount’ attribute, defining how many times the animation should repeat.

public static TBuilder RepeatCount<tbuilder>(this TBuilder builder, int value) where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value int

The number of times the animation should repeat.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

RepeatCount<tbuilder>(TBuilder, IndefiniteRepeat)

Sets the ‘repeatCount’ attribute, defining an indefinite repeat count for the animation using a predefined enum.

public static TBuilder RepeatCount<tbuilder>(this TBuilder builder, IndefiniteRepeat value) where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value IndefiniteRepeat

The predefined indefinite repeat count for the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

RepeatDur<tbuilder>(TBuilder, TimeSpan)

Sets the ‘repeatDur’ attribute, specifying the total duration for which the animation should repeat.

public static TBuilder RepeatDur<tbuilder>(this TBuilder builder, TimeSpan duration) where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

duration TimeSpan

The total duration for repeating the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

RepeatDur<tbuilder>(TBuilder, IndefiniteRepeat)

Sets the ‘repeatDur’ attribute, specifying an indefinite total duration for the animation using a predefined enum.

public static TBuilder RepeatDur<tbuilder>(this TBuilder builder, IndefiniteRepeat value) where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value IndefiniteRepeat

The predefined indefinite total duration for repeating the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

RequiredExtensions<tbuilder>(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.

public static TBuilder RequiredExtensions<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IConditionalProcessingAttributeSetter

Parameters

builder TBuilder

The SVG element builder on which the attribute is set.

value string

A string value representing the required extensions.

Returns

TBuilder

The original SVG element builder for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Restart<tbuilder>(TBuilder, Restart)

Sets the ‘restart’ attribute, defining how the animation should behave when it completes.

public static TBuilder Restart<tbuilder>(this TBuilder builder, Restart value) where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value Restart

The restart behavior of the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Result<tbuilder>(TBuilder, string)

Sets the ‘result’ attribute for an SVG filter primitive.

public static TBuilder Result<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IFilterPrimitiveAttributeSetter

Parameters

builder TBuilder

The builder instance.

value string

The name of the result of this filter primitive.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Rotate<tbuilder>(TBuilder, params double[])

Sets rotation angles for individual characters or segments of the text content.

public static TBuilder Rotate<tbuilder>(this TBuilder builder, params double[] values) where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

values double []

An array of rotation angles in degrees.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Remarks

This method sets the ‘rotate’ attribute with multiple values, allowing for individual rotation of each character or text segment.

Rotate<tbuilder>(TBuilder, double)

Sets a single rotation angle for the entire text content.

public static TBuilder Rotate<tbuilder>(this TBuilder builder, double value) where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value double

The rotation angle in degrees.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Remarks

This method sets the ‘rotate’ attribute with a single value, applying the same rotation angle to all text content.

SetAttribute<tbuilder>(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.

public static TBuilder SetAttribute<tbuilder>(this TBuilder builder, string name, string value) where TBuilder : IAttributeSetter

Parameters

builder TBuilder

The SVG element builder on which the attribute is set.

name string

The name of the attribute to set.

value string

The value of the attribute.

Returns

TBuilder

The original SVG element builder for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

SetPreserveAspectRatio<tbuilder>(TBuilder, AspectRatioAlign, AspectRatioScaling)

Sets the ‘preserveAspectRatio’ attribute for an SVG element.

public static TBuilder SetPreserveAspectRatio<tbuilder>(this TBuilder builder, AspectRatioAlign align, AspectRatioScaling meetOrSlice = AspectRatioScaling.Meet) where TBuilder : ISVGElementBuilder, IPreserveAspectRatioAttributeSetter

Parameters

builder TBuilder

The builder instance.

align AspectRatioAlign

The alignment setting for the aspect ratio.

meetOrSlice AspectRatioScaling

Specifies how an aspect ratio is preserved (default is ‘Meet’).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

ShapeRendering<tbuilder>(TBuilder, ShapeRendering)

Sets the ‘shape-rendering’ attribute for an SVG element, influencing the rendering of shapes.

public static TBuilder ShapeRendering<tbuilder>(this TBuilder builder, ShapeRendering value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value ShapeRendering

The shape rendering value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Slope<tbuilder>(TBuilder, double)

Sets the ‘slope’ attribute for a component transfer function element.

public static TBuilder Slope<tbuilder>(this TBuilder builder, double slope) where TBuilder : ISVGElementBuilder, ITransferFunctionAttributeSetter

Parameters

builder TBuilder

The builder instance.

slope double

The slope value for the transfer function.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

SpreadMethod<tbuilder>(TBuilder, SpreadMethod)

Sets the ‘spreadMethod’ attribute for a gradient element.

public static TBuilder SpreadMethod<tbuilder>(this TBuilder builder, SpreadMethod method) where TBuilder : ISVGElementBuilder, IGradientStopElementBuilder

Parameters

builder TBuilder

The SVG element builder to which the attribute is applied.

method SpreadMethod

The spread method for the gradient (pad, reflect, or repeat).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

StopColor<tbuilder>(TBuilder, Color)

Sets the ‘stop-color’ attribute for an SVG element, defining the color at a gradient stop.

public static TBuilder StopColor<tbuilder>(this TBuilder builder, Color colorValue) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

colorValue Color

The color value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

StopColor<tbuilder>(TBuilder, Action<colorbuilder>)

Sets the ‘stop-color’ attribute for an SVG element using a custom color configuration.

public static TBuilder StopColor<tbuilder>(this TBuilder builder, Action<colorbuilder> configure) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

configure Action < ColorBuilder &gt;

A delegate to configure the color.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

StopOpacity<tbuilder>(TBuilder, double)

Sets the ‘stop-opacity’ attribute for an SVG element, defining the opacity at a gradient stop.

public static TBuilder StopOpacity<tbuilder>(this TBuilder builder, double opacity) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

opacity double

The opacity value (0.0 for fully transparent, 1.0 for fully opaque).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Stroke<tbuilder>(TBuilder, Action<paintbuilder>)

Sets the ‘stroke’ attribute for an SVG element using a custom paint configuration.

public static TBuilder Stroke<tbuilder>(this TBuilder builder, Action<paintbuilder> configure) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

configure Action < PaintBuilder &gt;

A delegate to configure the paint.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Stroke<tbuilder>(TBuilder, Color)

Sets the ‘stroke’ attribute for an SVG element using a specific color.

public static TBuilder Stroke<tbuilder>(this TBuilder builder, Color color) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

color Color

The color to use for the stroke.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Stroke<tbuilder>(TBuilder, Paint)

Sets the ‘stroke’ attribute for an SVG element using a predefined paint value.

public static TBuilder Stroke<tbuilder>(this TBuilder builder, Paint paint) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

paint Paint

The paint value to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

StrokeDashArray<tbuilder>(TBuilder, params double[])

Sets the ‘stroke-dasharray’ attribute for an SVG element, defining the pattern of dashes and gaps used to paint the stroke.

public static TBuilder StrokeDashArray<tbuilder>(this TBuilder builder, params double[] dashArray) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

dashArray double []

The array of dash lengths.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

StrokeDashArray<tbuilder>(TBuilder, Dash)

Sets the ‘stroke-dasharray’ attribute for an SVG element using a predefined dash pattern.

public static TBuilder StrokeDashArray<tbuilder>(this TBuilder builder, Dash value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value Dash

The dash pattern to set.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

StrokeDashoffset<tbuilder>(TBuilder, double, LengthType)

Sets the ‘stroke-dashoffset’ attribute for an SVG element, defining the offset for the start of the stroke dash array.

public static TBuilder StrokeDashoffset<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The dash offset value.

type LengthType

The unit type for the offset value.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

StrokeLineCap<tbuilder>(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.

public static TBuilder StrokeLineCap<tbuilder>(this TBuilder builder, StrokeLineCap value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value StrokeLineCap

The line cap style.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

StrokeLineJoin<tbuilder>(TBuilder, StrokeLineJoin)

Sets the ‘stroke-linejoin’ attribute for an SVG element, defining the shape used to join two line segments where they meet.

public static TBuilder StrokeLineJoin<tbuilder>(this TBuilder builder, StrokeLineJoin value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value StrokeLineJoin

The line join style.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

StrokeMiterlimit<tbuilder>(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.

public static TBuilder StrokeMiterlimit<tbuilder>(this TBuilder builder, double miterlimit) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

miterlimit double

The miter limit value.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

StrokeOpacity<tbuilder>(TBuilder, double)

Sets the ‘stroke-opacity’ attribute for an SVG element, defining the opacity of the stroke.

public static TBuilder StrokeOpacity<tbuilder>(this TBuilder builder, double opacity) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

opacity double

The opacity value.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

StrokeWidth<tbuilder>(TBuilder, double, LengthType)

Sets the ‘stroke-width’ attribute for an SVG element, defining the width of the stroke.

public static TBuilder StrokeWidth<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The stroke width value.

type LengthType

The unit type for the stroke width.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Style<tbuilder>(TBuilder, Action<rulebuilder>)

Sets the ‘style’ attribute using a rule builder to define CSS styles.

public static TBuilder Style<tbuilder>(this TBuilder builder, Action<rulebuilder> configureRule) where TBuilder : ISVGElementBuilder, ICoreAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

configureRule Action < RuleBuilder &gt;

The action to configure the CSS rule.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Style<tbuilder>(TBuilder, string)

Sets the ‘style’ attribute, defining inline CSS styles for the SVG element.

public static TBuilder Style<tbuilder>(this TBuilder builder, string rules) where TBuilder : ISVGElementBuilder, ICoreAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

rules string

The CSS rules as a string.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

SystemLanguage<tbuilder>(TBuilder, string)

Sets the ‘systemLanguage’ attribute on the SVG element. This attribute specifies the language preferences for which the SVG document fragment is intended.

public static TBuilder SystemLanguage<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IConditionalProcessingAttributeSetter

Parameters

builder TBuilder

The SVG element builder on which the attribute is set.

value string

A string value representing the language preferences, typically in the form of language tags.

Returns

TBuilder

The original SVG element builder for method chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Tabindex<tbuilder>(TBuilder, int)

Sets the ’tabindex’ attribute, defining the tab order of the SVG element.

public static TBuilder Tabindex<tbuilder>(this TBuilder builder, int value) where TBuilder : ISVGElementBuilder, ICoreAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value int

The tab order index.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

TableValues<tbuilder>(TBuilder, params double[])

Sets the ’tableValues’ attribute for a component transfer function element.

public static TBuilder TableValues<tbuilder>(this TBuilder builder, params double[] values) where TBuilder : ISVGElementBuilder, ITransferFunctionAttributeSetter

Parameters

builder TBuilder

The builder instance.

values double []

The table values for the transfer function.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

TextAnchor<tbuilder>(TBuilder, TextAnchor)

Sets the ’text-anchor’ attribute for an SVG element, defining how the text is horizontally aligned relative to the given point.

public static TBuilder TextAnchor<tbuilder>(this TBuilder builder, TextAnchor textAnchor) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

textAnchor TextAnchor

The text anchor position.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

TextDecoration<tbuilder>(TBuilder, bool, bool, bool, bool)

Sets the ’text-decoration’ attribute for an SVG element, defining decorations that are added to the text.

public static TBuilder TextDecoration<tbuilder>(this TBuilder builder, bool underline = false, bool overline = false, bool lineThrough = false, bool blink = false) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

underline bool

Specifies if the text should be underlined.

overline bool

Specifies if the text should have an overline.

lineThrough bool

Specifies if the text should have a line through it.

blink bool

Specifies if the text should blink (not recommended for use).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

TextLength<tbuilder>(TBuilder, double, LengthType)

Sets the exact length of the text content.

public static TBuilder TextLength<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value double

The length of the text.

type LengthType

The type of length unit for the value.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Remarks

This method sets the ’textLength’ attribute, specifying the desired length of the text content, potentially overriding the natural text length.

TextOverflow<tbuilder>(TBuilder, TextOverflow)

Sets the ’text-overflow’ attribute for an SVG element, defining how overflowed content that is not displayed is signaled to the users.

public static TBuilder TextOverflow<tbuilder>(this TBuilder builder, TextOverflow textOverflow) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

textOverflow TextOverflow

The text overflow behavior.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

TextRendering<tbuilder>(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.

public static TBuilder TextRendering<tbuilder>(this TBuilder builder, TextRendering textRendering) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

textRendering TextRendering

The text rendering mode.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

To<tbuilder>(TBuilder, double, LengthType)

Sets the ’to’ attribute, defining the ending value of the animation with a specified length type.

public static TBuilder To<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : ISVGElementBuilder, IAnimationValueAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value double

The ending value for the animation.

type LengthType

The length type for the ’to’ value.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Transform<tbuilder>(TBuilder, Func<transformbuilder, transformbuilder="">)

Sets the ’transform’ attribute for an SVG element.

public static TBuilder Transform<tbuilder>(this TBuilder builder, Func<transformbuilder, transformbuilder=""> configure) where TBuilder : ISVGElementBuilder, ITransformAttributeSetter

Parameters

builder TBuilder

The builder instance.

configure Func < TransformBuilder , TransformBuilder &gt;

A function to configure the SVG transform.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Type<tbuilder>(TBuilder, ComponentTransferType)

Sets the ’type’ attribute of a component transfer function element.

public static TBuilder Type<tbuilder>(this TBuilder builder, ComponentTransferType type) where TBuilder : ISVGElementBuilder, ITransferFunctionAttributeSetter

Parameters

builder TBuilder

The builder instance.

type ComponentTransferType

The type of the component transfer function (e.g., linear, gamma).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

UnicodeBidi<tbuilder>(TBuilder, UnicodeBidi)

Sets the ‘unicode-bidi’ attribute for an SVG element, defining how the bidirectional text should be handled.

public static TBuilder UnicodeBidi<tbuilder>(this TBuilder builder, UnicodeBidi unicodeBidi) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

unicodeBidi UnicodeBidi

The Unicode BiDi behavior.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Values<tbuilder>(TBuilder, params string[])

Sets the ‘values’ attribute, specifying the set of values to be used over the course of the animation.

public static TBuilder Values<tbuilder>(this TBuilder builder, params string[] values) where TBuilder : ISVGElementBuilder, IAnimationValueAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

values string []

The array of values for the animation.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

ViewBox<tbuilder>(TBuilder, double, double, double, double)

Sets the ‘viewBox’ attribute for an SVG element.

public static TBuilder ViewBox<tbuilder>(this TBuilder builder, double minX, double minY, double width, double height) where TBuilder : ISVGElementBuilder, IViewBoxAttributeSetter

Parameters

builder TBuilder

The builder instance.

minX double

The minimum X coordinate of the viewBox.

minY double

The minimum Y coordinate of the viewBox.

width double

The width of the viewBox.

height double

The height of the viewBox.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Visibility<tbuilder>(TBuilder, Visibility)

Sets the ‘visibility’ attribute for an SVG element, controlling whether the element is visible or not.

public static TBuilder Visibility<tbuilder>(this TBuilder builder, Visibility visibility) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

visibility Visibility

The visibility setting.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

WhiteSspace<tbuilder>(TBuilder, WhiteSpace)

Sets the ‘white-space’ attribute for an SVG element, specifying how white space inside the element is handled.

public static TBuilder WhiteSspace<tbuilder>(this TBuilder builder, WhiteSpace value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value WhiteSpace

The white space handling mode.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Width<tbuilder>(TBuilder, double, LengthType)

Sets the ‘width’ attribute for an SVG element.

public static TBuilder Width<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : ISVGElementBuilder, IWidthAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The value for the ‘width’ attribute.

type LengthType

The type of length measurement (default is pixels).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

WordSpacing<tbuilder>(TBuilder, Spacing)

Sets the ‘word-spacing’ attribute for an SVG element, specifying the spacing behavior between words.

public static TBuilder WordSpacing<tbuilder>(this TBuilder builder, Spacing value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value Spacing

The predefined word spacing value.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

WordSpacing<tbuilder>(TBuilder, double, LengthType)

Sets the ‘word-spacing’ attribute for an SVG element, specifying the spacing behavior between words with a custom value.

public static TBuilder WordSpacing<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The word spacing value.

type LengthType

The unit type for the spacing value.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

WritingMode<tbuilder>(TBuilder, WritingMode)

Sets the ‘writing-mode’ attribute for an SVG element, specifying the direction in which text and inline content are laid out.

public static TBuilder WritingMode<tbuilder>(this TBuilder builder, WritingMode value) where TBuilder : IAttributeSetter, IPresentationAttributeSetter

Parameters

builder TBuilder

The builder instance.

value WritingMode

The writing mode.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

X<tbuilder>(TBuilder, double, LengthType)

Sets the ‘x’ attribute for an SVG element.

public static TBuilder X<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : ISVGElementBuilder, IXAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The value for the ‘x’ attribute.

type LengthType

The type of length measurement (default is pixels).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

X<tbuilder>(TBuilder, LengthType, params double[])

Sets the ‘x’ attribute for positioning the text content along the x-axis.

public static TBuilder X<tbuilder>(this TBuilder builder, LengthType type = LengthType.Px, params double[] values) where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

type LengthType

The type of length unit for the values.

values double []

The x-axis position values.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Remarks

This method sets the ‘x’ attribute, which determines the horizontal position(s) of the text element.

XlinkHref<tbuilder>(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.

public static TBuilder XlinkHref<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IXLinkAttributeSetter

Parameters

builder TBuilder

The builder instance.

value string

The URI of the resource to link to.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

XlinkTitle<tbuilder>(TBuilder, string)

Sets the ‘xlink:title’ attribute for an SVG element. This attribute provides a title for the linked resource.

public static TBuilder XlinkTitle<tbuilder>(this TBuilder builder, string value) where TBuilder : ISVGElementBuilder, IXLinkAttributeSetter

Parameters

builder TBuilder

The builder instance.

value string

The title of the linked resource.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

XmlSpace<tbuilder>(TBuilder, XmlSpace)

Sets the ‘xml:space’ attribute, specifying how white spaces are handled.

public static TBuilder XmlSpace<tbuilder>(this TBuilder builder, XmlSpace value) where TBuilder : ISVGElementBuilder, ICoreAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

value XmlSpace

The xml:space behavior (preserve or default).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Y<tbuilder>(TBuilder, double, LengthType)

Sets the ‘y’ attribute for an SVG element.

public static TBuilder Y<tbuilder>(this TBuilder builder, double value, LengthType type = LengthType.Px) where TBuilder : ISVGElementBuilder, IYAttributeSetter

Parameters

builder TBuilder

The builder instance.

value double

The value for the ‘y’ attribute.

type LengthType

The type of length measurement (default is pixels).

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Y<tbuilder>(TBuilder, LengthType, params double[])

Sets the ‘y’ attribute for positioning the text content along the y-axis.

public static TBuilder Y<tbuilder>(this TBuilder builder, LengthType type = LengthType.Px, params double[] values) where TBuilder : ISVGElementBuilder, ITextContentPositioningAttributeSetter

Parameters

builder TBuilder

The SVG element builder.

type LengthType

The type of length unit for the values.

values double []

The y-axis position values.

Returns

TBuilder

The builder instance for chaining.

Type Parameters

TBuilder

The type of the SVG element builder.

Remarks

This method sets the ‘y’ attribute, which determines the vertical position(s) of the text element. </tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></transformbuilder,></transformbuilder,></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></rulebuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></paintbuilder></tbuilder></tbuilder></colorbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></maskbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></colorbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></animationsplinebuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></transformbuilder,></transformbuilder,></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></colorbuilder></tbuilder></tbuilder></filtervaluelistbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></paintbuilder></tbuilder></tbuilder></tbuilder></timingvaluebuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></colorbuilder></tbuilder></tbuilder></clippathbuilder></tbuilder></tbuilder></tbuilder></tbuilder></timingvaluebuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></tbuilder></svgviewelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></svguseelementbuilder></color,></color,></double,></double,></double,></double,></tbuilder></svguseelementbuilder></tbuilder></svgtitleelementbuilder></tbuilder></color,></color,></double,></double,></double,></svgtextelementbuilder></color,></color,></double,></double,></double,></tbuilder></svgtextelementbuilder></tbuilder></svgsymbolelementbuilder></tbuilder></svgswitchelementbuilder></tbuilder></svgsvgelementbuilder></tbuilder></svgstyleelementbuilder></tbuilder></double,></svgstopelementbuilder></double,></tbuilder></svgstopelementbuilder></tbuilder></svgsetelementbuilder></tbuilder></svgscriptelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></svgrectelementbuilder></color,></color,></double,></double,></double,></double,></tbuilder></svgrectelementbuilder></tbuilder></double,></double,></double,></double,></double,></svgradialgradientelementbuilder></double,></double,></double,></double,></double,></tbuilder></svgradialgradientelementbuilder></tbuilder></color,></color,></svgpolylineelementbuilder></color,></color,></tbuilder></svgpolylineelementbuilder></tbuilder></color,></color,></svgpolygonelementbuilder></color,></color,></tbuilder></svgpolygonelementbuilder></tbuilder></svgpatternelementbuilder></tbuilder></svgpatternelementbuilder></tbuilder></color,></color,></svgpathelementbuilder></color,></color,></pathbuilder></tbuilder></color,></color,></string,></svgpathelementbuilder></color,></color,></string,></tbuilder></svgpathelementbuilder></tbuilder></tbuilder,></svgmetadataelementbuilder></tbuilder,></svgmaskelementbuilder></tbuilder></svgmarkerelementbuilder></tbuilder></double,></double,></double,></double,></svglineargradientelementbuilder></double,></double,></double,></double,></tbuilder></svglineargradientelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></svglineelementbuilder></color,></color,></double,></double,></double,></double,></tbuilder></svglineelementbuilder></tbuilder></double,></double,></double,></double,></svgimageelementbuilder></double,></double,></double,></double,></tbuilder></svgimageelementbuilder></tbuilder></svggelementbuilder></tbuilder></svgforeignobjectelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></svgfilterelementbuilder></color,></color,></double,></double,></double,></double,></tbuilder></svgfilterelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></double,></svgfeturbulenceelementbuilder></color,></color,></double,></double,></double,></double,></string,></double,></tbuilder></svgfeturbulenceelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></svgfetileelementbuilder></color,></color,></double,></double,></double,></double,></string,></tbuilder></svgfetileelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></double,></svgfespecularlightingelementbuilder></color,></color,></double,></double,></double,></double,></string,></double,></svgfespotlightelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></double,></svgfespecularlightingelementbuilder></color,></color,></double,></double,></double,></double,></string,></double,></svgfepointlightelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></double,></svgfespecularlightingelementbuilder></color,></color,></double,></double,></double,></double,></string,></double,></svgfedistantlightelementbuilder></tbuilder></svgfespecularlightingelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></svgfeoffsetelementbuilder></color,></color,></double,></double,></double,></double,></string,></tbuilder></svgfeoffsetelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></double,></svgfemorphologyelementbuilder></color,></color,></double,></double,></double,></double,></string,></double,></tbuilder></svgfemorphologyelementbuilder></tbuilder></svgfemergeelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></svgfeimageelementbuilder></color,></color,></double,></double,></double,></double,></tbuilder></svgfeimageelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></double,></svgfegaussianblurelementbuilder></color,></color,></double,></double,></double,></double,></string,></double,></tbuilder></svgfegaussianblurelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></svgfefloodelementbuilder></color,></color,></double,></double,></double,></double,></tbuilder></svgfefloodelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></double,></svgfedropshadowelementbuilder></color,></color,></double,></double,></double,></double,></string,></double,></tbuilder></svgfedropshadowelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></string,></svgfedisplacementmapelementbuilder></color,></color,></double,></double,></double,></double,></string,></string,></tbuilder></svgfedisplacementmapelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></svgfediffuselightingelementbuilder></color,></color,></double,></double,></double,></double,></string,></svgfespotlightelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></svgfediffuselightingelementbuilder></color,></color,></double,></double,></double,></double,></string,></svgfepointlightelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></svgfediffuselightingelementbuilder></color,></color,></double,></double,></double,></double,></string,></svgfedistantlightelementbuilder></tbuilder></svgfediffuselightingelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></int,></svgfeconvolvematrixelementbuilder></color,></color,></double,></double,></double,></double,></string,></int,></tbuilder></svgfeconvolvematrixelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></string,></svgfecompositeelementbuilder></color,></color,></double,></double,></double,></double,></string,></string,></tbuilder></svgfecompositeelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></svgfecomponenttransferelementbuilder></color,></color,></double,></double,></double,></double,></string,></svgfefuncbelementbuilder></svgfefuncgelementbuilder></svgfefuncrelementbuilder></svgfefuncaelementbuilder></tbuilder></svgfecomponenttransferelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></svgfecolormatrixelementbuilder></color,></color,></double,></double,></double,></double,></string,></tbuilder></svgfecolormatrixelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></string,></string,></svgfeblendelementbuilder></color,></color,></double,></double,></double,></double,></string,></string,></tbuilder></svgfeblendelementbuilder></tbuilder></color,></color,></double,></double,></double,></double,></svgellipseelementbuilder></color,></color,></double,></double,></double,></double,></tbuilder></svgellipseelementbuilder></tbuilder></svgdescelementbuilder></tbuilder></svgdefselementbuilder></tbuilder></tbuilder></svgclippathelementbuilder></tbuilder></color,></color,></double,></double,></double,></svgcircleelementbuilder></color,></color,></double,></double,></double,></tbuilder></svgcircleelementbuilder></tbuilder></tbuilder,></tbuilder,></svganimatetransformelementbuilder></tbuilder></svganimatemotionelementbuilder></tbuilder></svganimateelementbuilder></tbuilder></svgaelementbuilder></tbuilder></tbuilder>

 English