API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceAsepriteLayer
A single layer entry in the Aseprite JSON metadata (`meta.layers`). Only `name` is guaranteed. `opacity` and `blendMode` describe an image layer's compositing and can both be absent (a group layer has neither), and `color`/`data` carry the layer's editor user data when it was set. `group` names the enclosing group layer and is absent at the top level, so the flat array encodes the layer tree by parent name.
import { AsepriteLayer } from '@codexo/exojs-aseprite'A single layer entry in the Aseprite JSON metadata (`meta.layers`).
Only `name` is guaranteed. `opacity` and `blendMode` describe an image layer's compositing and can both be absent (a group layer has neither), and `color`/`data` carry the layer's editor user data when it was set. `group` names the enclosing group layer and is absent at the top level, so the flat array encodes the layer tree by parent name.
blendMode?: stringcolor?: stringdata?: stringgroup?: stringname: stringopacity?: number