SVGBuilderExtensions.AddDesc

SVGBuilderExtensions.AddDesc<TBuilder> method

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
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
configureThe configuration action for the ‘desc’ element.

Return Value

The builder instance for chaining.

See Also