@mocanvas/mocanvas · function

mirrorPointsInBox

declare function mirrorPointsInBox(points: readonly VecLike[], w: number, h: number, flip: GeoFlip | undefined): VecLike[]

Mirror points about the centre of the w × h box on the requested axes.

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.