SVGBuilderExtensions.FontStyle

SVGBuilderExtensions.FontStyle<TBuilder> method

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

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

Return Value

The builder instance for chaining.

See Also