SVGBuilderExtensions.FontVariant

SVGBuilderExtensions.FontVariant<TBuilder> method

Sets the ‘font-variant’ attribute for an SVG element.

public static TBuilder FontVariant<TBuilder>(this TBuilder builder, string value)
    where TBuilder : IAttributeSetter, IPresentationAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
valueThe font variant value to set.

Return Value

The builder instance for chaining.

See Also