SVGBuilderExtensions.FontFamily

SVGBuilderExtensions.FontFamily<TBuilder> method

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

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

Return Value

The builder instance for chaining.

See Also