SVGBuilderExtensions.AddStyle

SVGBuilderExtensions.AddStyle<TBuilder> method

Adds a ‘style’ element configuration to the builder.

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

Return Value

The builder instance for chaining.

See Also