line()
Produces an SVG "line" element.
Syntax
line(
   x1 STRING,
   y1 STRING,
   x2 STRING,
   y2 STRING )
  RETURNS om.DomNode- x1 defines the X coordinate of the start point.
- y1 defines the Y coordinate of the start point.
- x2 defines the X coordinate of the end point.
- y2 defines the Y coordinate of the end point.
Usage
This function creates a "line" SVG DOM element from the parameters.
Example
DEFINE n om.DomNode
LET n = fglsvgcanvas.line(10,10,50,30)
CALL n.setAttribute(SVGATT_STYLE,"stroke:#006600;")