SVGBuilderExtensions.Visibility

SVGBuilderExtensions.Visibility<TBuilder> method

Sets the ‘visibility’ attribute for an SVG element, controlling whether the element is visible or not.

public static TBuilder Visibility<TBuilder>(this TBuilder builder, Visibility visibility)
    where TBuilder : IAttributeSetter, IPresentationAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
visibilityThe visibility setting.

Return Value

The builder instance for chaining.

See Also