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.
public class SVGLineElementBuilder : SVGElementBuilder<SVGLineElement>, IAnimationElementBuilder,
IDescriptiveElementBuilder, IPaintServerElementBuilder, IShapeAttributeSetter,
IShapeContentElementBuilder
Constructors
Properties
Methods
Name | Description |
---|
Attribute(string, string) | |
virtual Build(Document) | |
virtual Build(SVGLineElement) | |
BuildElement(Document) | |
X1(double, LengthType) | Sets the ‘x1’ attribute of the SVG ’line’ element, specifying the x-coordinate of the start point of the line. |
X2(double, LengthType) | Sets the ‘x2’ attribute of the SVG ’line’ element, specifying the x-coordinate of the end point of the line. |
Y1(double, LengthType) | Sets the ‘y1’ attribute of the SVG ’line’ element, specifying the y-coordinate of the start point of the line. |
Y2(double, LengthType) | Sets the ‘y2’ attribute of the SVG ’line’ element, specifying the y-coordinate of the end point of the line. |
See Also