internal float GetTotalLength() { float result = 0; foreach(SvgPathSeg segment in segments) { result += segment.Length; } return result; }