Menu
Samaritan's Purse

LINE

The line element defines a line segment that starts at one point and ends at another.

SYNTAX

<line attribute-name="attribute-value"/>
NAME VALUE INITIAL DESCRIPTION
x1 <length-percentage> | <number> 0 Defines the x-axis coordinate of the start of the line.
y1 <length-percentage> | <number> 0 Defines the y-axis coordinate of the start of the line.
x2 <length-percentage> | <number> 0 Defines the x-axis coordinate of the end of the line.
y2 <length-percentage> | <number> 0 Defines the y-axis coordinate of the end of the line.
pathLength <number> none Defines the total length of the path in user units.

EXAMPLES

X1

Y1

X2

Y2

PATHLENGTH

INTERNAL

circle

ellipse

polygon

polyline

rect

EXTERNAL

World Wide Web Consortium (W3C)