intersectsSegment2 method
Returns true if the polygon contains any part of the line segment.
Implementation
bool intersectsSegment2(Polygon polygon, double x1, double y1, double x2, double y2) {
final result = SpineBindings.bindings
.spine_skeleton_bounds_intersects_segment_2(_ptr, polygon.nativePtr.cast(), x1, y1, x2, y2);
return result;
}