SVGBuilderExtensions.Mask

SVGBuilderExtensions.Mask<TBuilder> method

Sets the ‘mask’ attribute for an SVG element using a custom mask configuration.

public static TBuilder Mask<TBuilder>(this TBuilder builder, Action<MaskBuilder> configure)
    where TBuilder : IAttributeSetter, IPresentationAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
configureA delegate to configure the mask.

Return Value

The builder instance for chaining.

See Also