LogoPixi’VN
indexType aliases

Type Alias: PixiVNJsonCanvasImageVideoShow

> PixiVNJsonCanvasImageVideoShow = object

Defined in: src/schema/PixiVNJsonCanvas.ts:20

Shows an image or video asset on the canvas.

Properties

alias

> alias: string

Defined in: src/schema/PixiVNJsonCanvas.ts:26

Unique identifier (alias) used to reference this element on the canvas.


operationType

> operationType: "show"

Defined in: src/schema/PixiVNJsonCanvas.ts:22


props?

> optional props?: ImageSpriteOptions

Defined in: src/schema/PixiVNJsonCanvas.ts:35

Display options (position, scale, alpha, etc.) for the image or video sprite.


transition?

> optional transition?: PixiVNJsonMediaTransiotions

Defined in: src/schema/PixiVNJsonCanvas.ts:39

Optional transition effect applied when the element appears on screen.


type

> type: "image" | "video"

Defined in: src/schema/PixiVNJsonCanvas.ts:21


url?

> optional url?: string

Defined in: src/schema/PixiVNJsonCanvas.ts:31

The url of the image or video. If the url is not provided, the url will be set to the alias.