Class Composition

A Composition in the Open Ordinal API is a single image as a combination of assets. This can be a single image with different assets combined (staged).

Examples of what a Composition can be:

  • Single image composed of multiple assets
  • Animated GIF
  • Rigged of multiple assets
  • PFP (With background),
  • PFP (No background)
  • PFP Theme
  • and so on...

Hierarchy

  • Exportable
    • Composition

Constructors

Properties

Methods

Constructors

Properties

id: string
name?: string
onExport?: (() => Promise<Export>)

Methods