SVGBuilderExtensions.FontWeight

SVGBuilderExtensions.FontWeight<TBuilder> method

Sets the ‘font-weight’ attribute for an SVG element using a predefined font weight value.

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

Return Value

The builder instance for chaining.

See Also