SVGLineElementBuilder.Y1

SVGLineElementBuilder.Y1 method

Sets the ‘y1’ attribute of the SVG ’line’ element, specifying the y-coordinate of the start point of the line.

public SVGLineElementBuilder Y1(double value, LengthType type = LengthType.Px)
ParameterTypeDescription
valueDoubleThe y-coordinate of the line’s start point.
typeLengthTypeThe unit of measurement for the y-coordinate (default is pixels).

Return Value

The current instance of SVGLineElementBuilder for method chaining.

See Also