Menu Home

x1

osbo.com | SVG | Attributes | x1

line

The x1 SVG attribute specifies the x-coordinate of the start of the element.

Syntax

Value

<length-percentage> | <number>

Default

0

Examples

<length-percentage>

<number>

Internal

pathLength

x2

y1

y2

External

World Wide Web Consortium (W3C)

linearGradient

The x1 SVG attribute specifies the x-coordinate of the start of the element.

Syntax

Value

<length>

Default

0%

Examples

<length>

Internal

gradientTransform

gradientUnits

href

spreadMethod

x2

y1

y2

External

World Wide Web Consortium (W3C)