Skip to content

@fabwcie/free-drawing / utils/text / getTexts

Function: getTexts() ​

getTexts(shapes): Text[]

Defined in: packages/free-drawing/src/utils/text.ts:11

Texts of shapes and of their groups (not shapes of frames, nor titles of frames)

Parameters ​

shapes ​

DrawingShape[]

drawing shapes (selection)

Returns ​

Text[]

texts among the shapes and in their groups at any depth