@mocanvas/editor · function
declare function intersectPolygonBounds(points: VecLike[], bounds: Box): null | VecLike[]Where a closed polygon's outline crosses the edges of an axis-aligned box.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.