SVGLineElementBuilder class
SVGLineElementBuilder class
Builder class for constructing an SVG ’line’ element, which is used to draw straight lines within SVG graphics. This class enables the building of content within the ’line’ element and provides methods to set various attributes specific to the ’line’ element in SVG.
The SVGLineElementBuilder type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Constructs a new instance of SVGLineElementBuilder |
Methods
| Method | Description |
|---|---|
| build | |
| build | |
| x1 | Sets the ‘x1’ attribute of the SVG ’line’ element, specifying the x-coordinate of the start point of the line. |
| y1 | Sets the ‘y1’ attribute of the SVG ’line’ element, specifying the y-coordinate of the start point of the line. |
| x2 | Sets the ‘x2’ attribute of the SVG ’line’ element, specifying the x-coordinate of the end point of the line. |
| y2 | Sets the ‘y2’ attribute of the SVG ’line’ element, specifying the y-coordinate of the end point of the line. |
| 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