SVGBuilderExtensions.StopOpacity
SVGBuilderExtensions.StopOpacity<TBuilder> method
Sets the ‘stop-opacity’ attribute for an SVG element, defining the opacity at a gradient stop.
public static TBuilder StopOpacity<TBuilder>(this TBuilder builder, double opacity)
where TBuilder : IAttributeSetter, IPresentationAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The builder instance. |
opacity | The opacity value (0.0 for fully transparent, 1.0 for fully opaque). |
Return Value
The builder instance for chaining.
See Also
- interface IAttributeSetter
- interface IPresentationAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG