pixi.js
    Preparing search index...

    Class NegationBlend

    Implements the Negation blend mode which creates an inverted effect based on the brightness values.

    Available as container.blendMode = 'negation' after importing pixi.js/advanced-blend-modes.

    import 'pixi.js/advanced-blend-modes';
    import { Sprite } from 'pixi.js';

    const sprite = Sprite.from('something.png');
    sprite.blendMode = 'negation'
    Index

    Constructors

    Constructors