SVGBuilderExtensions.AddDefs
SVGBuilderExtensions.AddDefs<TBuilder> method
Adds a ‘defs’ (definitions) element configuration to the builder.
public static TBuilder AddDefs<TBuilder>(this TBuilder builder,
Action<SVGDefsElementBuilder> configure)
where TBuilder : ISVGElementBuilder, IStructuralElementBuilder
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The builder instance. |
configure | The configuration action for the ‘defs’ element. |
Return Value
The builder instance for chaining.
See Also
- class SVGDefsElementBuilder
- interface ISVGElementBuilder
- interface IStructuralElementBuilder
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG