y2 method

y2

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

Returns

The current instance of SVGLineElementBuilder for method chaining.

def y2(self, value, type):
    ...
ParameterTypeDescription
valuefloatThe y-coordinate of the line’s end point.
typeLengthTypeThe unit of measurement for the y-coordinate (default is pixels).

See Also