Skip to content

@fabwcie/free-drawing / utils/drawingFile / DrawingFile

Type Alias: DrawingFile ​

DrawingFile = object

Defined in: packages/free-drawing/src/utils/drawingFile.ts:12

Content of a drawing file or link: background color and drawing shapes (konva toObject format)

Properties ​

background ​

background: ColorLike

Defined in: packages/free-drawing/src/utils/drawingFile.ts:18

Background color of the drawing


shapes ​

shapes: ShapeState[]

Defined in: packages/free-drawing/src/utils/drawingFile.ts:20

Drawing shapes (top nodes, with children of groups and frames), bottom first


type ​

type: "free-drawing"

Defined in: packages/free-drawing/src/utils/drawingFile.ts:14

Identifies drawing files


version ​

version: 1

Defined in: packages/free-drawing/src/utils/drawingFile.ts:16

Version of the file format