First point a or point name (or tag if name is empty) (to create midpoint of [a; b])
Second point b or point name (or tag if name is empty) (to create midpoint of [a; b])
Optionalcolor?: stringColor, black by default
OptionalfontSize?: numberFont size of the name
Optionalhidden?: booleantrue to get the created point masked
OptionalhiddenName?: booleantrue to get the created point name masked
Optionalname?: stringName of the midpoint to be created
OptionaloffsetX?: numberx-shift of the point name
OptionaloffsetY?: numbery-shift of the point name
Optionalopacity?: numberopacity (0 to 1), 1 by default
OptionalpointStyle?: stringPoint style (square|round|cross|mult|littleround|diamond|pixel|biground|bigmult)
Optionaltag?: stringTag to be applied on the created point (if present)
The created point if isPromiseMode is false or promise that will be resolved when the point is displayed
Adds the midpoint of [a; b] syntaxes
addMidpoint(a, b),addMidpoint(a, b, name),addMidpoint(a, b, name, color)andaddMidpoint(a, b, name, color, pointStyle)are allowed too