SVGBuilderExtensions.TextDecoration

SVGBuilderExtensions.TextDecoration<TBuilder> method

Sets the ’text-decoration’ attribute for an SVG element, defining decorations that are added to the text.

public static TBuilder TextDecoration<TBuilder>(this TBuilder builder, bool underline = false, 
    bool overline = false, bool lineThrough = false, bool blink = false)
    where TBuilder : IAttributeSetter, IPresentationAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
underlineSpecifies if the text should be underlined.
overlineSpecifies if the text should have an overline.
lineThroughSpecifies if the text should have a line through it.
blinkSpecifies if the text should blink (not recommended for use).

Return Value

The builder instance for chaining.

See Also