SVGBuilderExtensions.Id

SVGBuilderExtensions.Id<TBuilder> method

Sets the ‘id’ attribute, assigning a unique identifier to the SVG element.

public static TBuilder Id<TBuilder>(this TBuilder builder, string value)
    where TBuilder : ISVGElementBuilder, ICoreAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
valueThe unique identifier for the element.

Return Value

The builder instance for chaining.

See Also