ReadonlyclassPin class id (≥ 1). Connectors attach to a class with
{shape, pin: classId}. If several pins of the shape share the class, the
router picks the best one for each connector.
ReadonlyxOffset from the left side: a fraction of the width if proportional.
ReadonlyyOffset from the top side: a fraction of the height if proportional.
Optional ReadonlyproportionalDefault true. If false, x/y are absolute offsets.
Optional ReadonlyinsideDistance to move the pin inside the shape. Default 0.
Optional ReadonlydirectionsDirections connectors may leave in. Default ConnDirAll.
Options of
ShapeRef.addPin.Remarks
libavoid: the arguments of the 7-argument
ShapeConnectionPinconstructor.