SVGRectElementBuilder class
SVGRectElementBuilder class
Builder class for constructing an SVG ‘rect’ element. The ‘rect’ element is used to create rectangles within SVG graphics. This class provides methods to set various attributes specific to the ‘rect’ element, including corner radii and dimensions.
The SVGRectElementBuilder type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Constructs a new instance of SVGRectElementBuilder |
Methods
Method | Description |
---|---|
build | |
build | |
rx | Sets the ‘rx’ attribute of the SVG ‘rect’ element, specifying the horizontal radius of the rectangle’s rounded corners. |
ry | Sets the ‘ry’ attribute of the SVG ‘rect’ element, specifying the vertical radius of the rectangle’s rounded corners. |
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