Menu Home

y2

osbo.com | SVG | Attributes | y2

line

The y2 SVG attribute specifies the y-coordinate of the end of the element.

Syntax

Value

<length-percentage> | <number>

Default

0

Examples

<length-percentage>

<number>

Internal

pathLength

x1

x2

y1

External

World Wide Web Consortium (W3C)

linearGradient

The y2 SVG attribute specifies the y-coordinate of the end of the element.

Syntax

Value

<length>

Default

0%

Examples

<length>

Internal

gradientTransform

gradientUnits

href

spreadMethod

x1

x2

y1

External

World Wide Web Consortium (W3C)