SVGBuilderExtensions.Class

SVGBuilderExtensions.Class<TBuilder> method

Sets the ‘class’ attribute, assigning one or more class names to the SVG element.

public static TBuilder Class<TBuilder>(this TBuilder builder, params string[] value)
    where TBuilder : ISVGElementBuilder, ICoreAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
valueThe class names to assign.

Return Value

The builder instance for chaining.

See Also