SVGRadialGradientElementBuilder class
SVGRadialGradientElementBuilder class
Builder class for constructing an SVG ‘radialGradient’ element, which is used to define a radial gradient within SVG graphics. This class enables the building of content within the ‘radialGradient’ element and provides methods to set various attributes specific to the ‘radialGradient’ element in SVG.
The SVGRadialGradientElementBuilder type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Constructs a new instance of SVGRadialGradientElementBuilder |
Methods
Method | Description |
---|---|
build | |
build | |
href | Sets the ‘href’ attribute of the SVG ‘radialGradient’ element, specifying a reference to another gradient. |
cx | Sets the ‘cx’ attribute of the SVG ‘radialGradient’ element, specifying the x-coordinate of the center of the gradient. |
cy | Sets the ‘cy’ attribute of the SVG ‘radialGradient’ element, specifying the y-coordinate of the center of the gradient. |
r | Sets the ‘r’ attribute of the SVG ‘radialGradient’ element, specifying the radius of the gradient. |
fx | Sets the ‘fx’ attribute of the SVG ‘radialGradient’ element, specifying the x-coordinate of the focal point of the gradient. |
fy | Sets the ‘fy’ attribute of the SVG ‘radialGradient’ element, specifying the y-coordinate of the focal point of 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