mwg API
    Preparing search index...

    Function applyImageModifiers

    • Apply the renderer-neutral subset supported by the Pixi backend.

      Parameters

      Returns void

      import { Sprite } from 'pixi.js';
      import { applyImageModifiers, parseImagePath } from '@datamoc/mwg/two-d/render';
      applyImageModifiers(new Sprite(), parseImagePath('hero.png~FL(horizontal)'));