SVGBuilderExtensions.AddScript

SVGBuilderExtensions.AddScript<TBuilder> method

Adds a ‘script’ element configuration to the builder.

public static TBuilder AddScript<TBuilder>(this TBuilder builder, 
    Action<SVGScriptElementBuilder> configure)
    where TBuilder : ISVGElementBuilder, IShapeContentElementBuilder
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
configureThe configuration action for the ‘script’ element.

Return Value

The builder instance for chaining.

See Also