SVGStopElementBuilder class
SVGStopElementBuilder class
Builder class for constructing an SVG ‘stop’ element. The ‘stop’ element is used within a gradient definition (either linear or radial) to define the color stops. This class provides methods to set various attributes specific to the ‘stop’ element, such as the offset and color.
The SVGStopElementBuilder type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Constructs a new instance of SVGStopElementBuilder |
Methods
Method | Description |
---|---|
build | |
build | |
offset | Sets the ‘offset’ attribute of the SVG ‘stop’ element, specifying the position of the color stop within the gradient. |
build_element | Builds and returns an SVGElement instance based on the current configuration of the builder. |
attribute | Sets or updates an attribute on an SVG element. |
See Also
- module
aspose.svg.builder
- class
ISVGElementBuilder