SVGLinearGradientElementBuilder.Y2

SVGLinearGradientElementBuilder.Y2 method

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

public SVGLinearGradientElementBuilder Y2(double value, LengthType type = LengthType.Px)
ParameterTypeDescription
valueDoubleThe y-coordinate of the gradient’s end point.
typeLengthTypeThe unit of measurement for the y-coordinate (default is pixels).

Return Value

The current instance of SVGLinearGradientElementBuilder for method chaining.

See Also