getLengths method

Float32List getLengths()

The lengths along the path in the setup pose from the start of the path to the end of each Bezier curve.

Implementation

Float32List getLengths() {
  final num = _bindings.spine_path_attachment_get_num_lengths(_attachment);
  final lengths = _bindings.spine_path_attachment_get_lengths(_attachment);
  return lengths.asTypedList(num);
}