phaser - v4.0.0-rc.4
    Preparing search index...

    An object containing the position and color data for a single pixel in a CanvasTexture.

    type PixelConfig = {
        alpha: number;
        color: number;
        x: number;
        y: number;
    }
    Index

    Properties

    Properties

    alpha: number

    The alpha of the pixel, between 0 and 1.

    color: number

    The color of the pixel, not including the alpha channel.

    x: number

    The x-coordinate of the pixel.

    y: number

    The y-coordinate of the pixel.