Line
constructor()
Constructor defining the line coordinates
Parameters
x
the x starting point of the line (same as setX)
y
the y starting point of the line (same as setY)
x1
the x end point of the line
y1
the y end point of the line
Constructor defining the line coordinates
Parameters
id
the element unique id
x
the x starting point of the line (same as setX)
y
the y starting point of the line (same as setY)
x1
the x end point of the line
y1
the y end point of the line