SVGBuilderExtensions.AddForeignObject

SVGBuilderExtensions.AddForeignObject<TBuilder> method

Adds a ‘foreignObject’ element configuration to the builder.

public static TBuilder AddForeignObject<TBuilder>(this TBuilder builder, 
    Action<SVGForeignObjectElementBuilder> configure)
    where TBuilder : ISVGElementBuilder, ICompositeElementBuilder
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
configureThe configuration action for the ‘foreignObject’ element.

Return Value

The builder instance for chaining.

See Also