SVGBuilderExtensions.SpreadMethod
SVGBuilderExtensions.SpreadMethod<TBuilder> method
Sets the ‘spreadMethod’ attribute for a gradient element.
public static TBuilder SpreadMethod<TBuilder>(this TBuilder builder, SpreadMethod method)
where TBuilder : ISVGElementBuilder, IGradientStopElementBuilder
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The SVG element builder to which the attribute is applied. |
method | The spread method for the gradient (pad, reflect, or repeat). |
Return Value
The builder instance for chaining.
See Also
- enum SpreadMethod
- interface ISVGElementBuilder
- interface IGradientStopElementBuilder
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG