len
The number of segments. An empty curve has zero length, a curve with just one node has length 1.
closed
True (1) if the curve is closed, false (0) otherwise.