measure

fnDrawShape measure(string x1, string y1, string x2, string y2, string styleName = "")

Constructs a measure shape (dimension line).

Parameters

x1Start x coordinate.
y1Start y coordinate.
x2End x coordinate.
y2End y coordinate.
styleNameOptional draw:style-name.

Returns

A DrawShape with DrawShapeKind.MEASURE.