SVGBuilderExtensions.Href

SVGBuilderExtensions.Href<TBuilder> method

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
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
valueThe URL to link to.

Return Value

The builder instance for chaining.

See Also