intersectsLineSegment static method
This static function is true if a rectangular area is intersected by a finite straight line segment.
Implementation
static _i2.bool intersectsLineSegment(
_i2.num x,
_i2.num y,
_i2.num w,
_i2.num h,
_i2.num p1x,
_i2.num p1y,
_i2.num p2x,
_i2.num p2y,
) =>
_i4.callMethod(
_declaredRect,
'intersectsLineSegment',
[
x,
y,
w,
h,
p1x,
p1y,
p2x,
p2y,
],
);