Optionalcolor?: stringColor, black by default
the line that is to be transformed
OptionalfontSize?: numberFont size of the name
Optionalhidden?: booleantrue to get the created line masked
OptionalhiddenName?: booleantrue to get the created line name masked
OptionallineStyle?: stringLine style (line|-|dot|.|dashdash|--|dashdotdot|-..|dashdotdotdot|-...|dashdashdash|---)
Optionalname?: stringName of the line to be created (if present)
Optionalopacity?: numberopacity (0 to 1), 1 by default
Optionaltag?: stringTag to be applied on the created line (if present)
Optionalthickness?: numberStroke thickness
the transformation to aplly on line d
The created line if isPromiseMode is false or promise that will be resolved when the line is displayed
adds the image of line d by transformation transf syntaxes
addLineIm(d, transf),addLineIm(d, transf, name),addLineIm(d, transf, name, color),addLineIm(d, transf, name, color, lineStyle)andaddLineIm(d, transf, name, color, lineStyle, thickness)are allowed too