SVGBuilderExtensions.AddMask

SVGBuilderExtensions.AddMask<TBuilder> method

Adds a ‘mask’ element configuration to the builder.

public static TBuilder AddMask<TBuilder>(this TBuilder builder, 
    Action<SVGMaskElementBuilder> configure)
    where TBuilder : ISVGElementBuilder, IShapeContentElementBuilder
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
configureThe configuration action for the ‘mask’ element.

Return Value

The builder instance for chaining.

See Also