Pixi’VN
indexInterfaces

Interface: CanvasBaseItemMemory

pixi-vn on GitHub

Defined in: src/canvas/interfaces/memory/CanvasBaseItemMemory.ts:6

Interface for the canvas base memory

Extended by

Properties

index?

> optional index?: number

Defined in: src/canvas/interfaces/memory/CanvasBaseItemMemory.ts:11

The index of the container in its parent, if it has one


label?

> optional label?: string

Defined in: src/canvas/interfaces/memory/CanvasBaseItemMemory.ts:16


parentLabel?

> optional parentLabel?: string

Defined in: src/canvas/interfaces/memory/CanvasBaseItemMemory.ts:15

The label of the parent container, if it has one


pixivnFilters?

> optional pixivnFilters?: FilterMemory[]

Defined in: src/canvas/interfaces/memory/CanvasBaseItemMemory.ts:25

The filters applied to this element, if any - kept separate from the real, live Filter[] .filters (inherited from the PixiJS options types this memory interface also extends) since a memory object is serialized data, not construction options. Only filters registered with filterDecorator/RegisteredFilters can be saved - any other Filter instance found on .filters is skipped (with a warning) when exporting.


pixivnId

> pixivnId: string

Defined in: src/canvas/interfaces/memory/CanvasBaseItemMemory.ts:7


zIndex?

> optional zIndex?: number

Defined in: src/canvas/interfaces/memory/CanvasBaseItemMemory.ts:17

On this page