SVGBuilderExtensions.GradientUnits
SVGBuilderExtensions.GradientUnits<TBuilder> method
Sets the ‘gradientUnits’ attribute for a gradient element.
public static TBuilder GradientUnits<TBuilder>(this TBuilder builder, CoordinateUnits units)
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. |
units | The coordinate units for the gradient (userSpaceOnUse or objectBoundingBox). |
Return Value
The builder instance for chaining.
See Also
- enum CoordinateUnits
- interface ISVGElementBuilder
- interface IGradientStopElementBuilder
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG