Menu Home

x2

osbo.com | SVG | Attributes | x2

line

The x2 SVG attribute specifies the x-coordinate of the end of the element.

Syntax

Value

<length-percentage> | <number>

Default

0

Examples

<length-percentage>

<number>

Internal

pathLength

x1

y1

y2

External

World Wide Web Consortium (W3C)

linearGradient

The x2 SVG attribute specifies the x-coordinate of the end of the element.

Syntax

Value

<length>

Default

100%

Examples

<length>

Internal

gradientTransform

gradientUnits

href

spreadMethod

x1

y1

y2

External

World Wide Web Consortium (W3C)