First point (or point name) line is mediator of
Second point (or point name) line is mediator of
Optionalcolor?: stringColor, black by default
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 created line if isPromiseMode is false or promise that will be resolved when the line is displayed
Adds the mediator line of segment [a, b] syntaxes
addLineMedAB(a, b),addLineMedAB(a, b, name),addLineMedAB(a, b, name, color),addLineMedAB(a, b, name, color, lineStyle)andaddLineMedAB(a, b, name, color, lineStyle, thickness)are allowed too