Added method to get length of StrokeEx

Adding the ability to measure the length of the StrokeEx line created.
This value can be used for, for example, deciding how to stretch a
material along the curve, allowing for increased flexibility for effects
along a curve.