Options
All
  • Public
  • Public/Protected
  • All
Menu

Applies the "Fill" effect to a sprite, changing the color channels of all non-transparent pixels to match a given color

Hierarchy

  • Fill

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

color

color: Color

The color to apply to the sprite

Methods

updatePixel

  • updatePixel(x: number, y: number, imageData: ImageData): void