Skip to content

@fabwcie/free-drawing / utils/frame / withFrameShapes

Function: withFrameShapes() ​

withFrameShapes(shapes): DrawingShape[]

Defined in: packages/free-drawing/src/utils/frame.ts:181

Drawing shapes and shapes of frames, from bottom to top (shapes of a frame after it)

Parameters ​

shapes ​

DrawingShape[]

Drawing shapes (of draw layer)

Returns ​

DrawingShape[]

the shapes, each frame followed by its shapes