Skip to content

CanvasGroupData

Defined in: canvas.d.ts:60

A node that represents a group.

Extends

Indexable

[key: string]: any

Properties

background?

optional background: string

Defined in: canvas.d.ts:65

Optional background image, stores the path to the image file in the vault.


backgroundStyle?

optional backgroundStyle: BackgroundStyle

Defined in: canvas.d.ts:67

Optional background image rendering style; defaults to ‘cover’.


color?

optional color: string

Defined in: canvas.d.ts:28

The color of this node

Inherited from

CanvasNodeData.color


height

height: number

Defined in: canvas.d.ts:26

Inherited from

CanvasNodeData.height


id

id: string

Defined in: canvas.d.ts:21

The unique ID for this node

Inherited from

CanvasNodeData.id


label?

optional label: string

Defined in: canvas.d.ts:63

Optional label to display on top of the group.


type

type: "group"

Defined in: canvas.d.ts:61


width

width: number

Defined in: canvas.d.ts:25

Inherited from

CanvasNodeData.width


x

x: number

Defined in: canvas.d.ts:23

Inherited from

CanvasNodeData.x


y

y: number

Defined in: canvas.d.ts:24

Inherited from

CanvasNodeData.y