UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.

12 lines (11 loc) 449 B
/** * An object containing the position and color data for a single pixel in a CanvasTexture. * * @typedef {object} Phaser.Types.Textures.PixelConfig * @since 3.16.0 * * @property {number} x - The x-coordinate of the pixel. * @property {number} y - The y-coordinate of the pixel. * @property {number} color - The color of the pixel, not including the alpha channel. * @property {number} alpha - The alpha of the pixel, between 0 and 1. */