SVGGeometryElement: getTotalLength() メソッド
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2020年1月.
SVGGeometryElement.getTotalLength()
メソッドは、ユーザーエージェントが計算したパスの全長をユーザー単位で返します。