Skip to content

CanvasTextData

Defined in: canvas.d.ts:45

A node that is plaintext.

Extends

Indexable

[key: string]: any

Properties

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


text

text: string

Defined in: canvas.d.ts:47


type

type: "text"

Defined in: canvas.d.ts:46


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