Class: ColorOverlayFilter

ColorOverlayFilter

Overlay a source graphic with a color.

new ColorOverlayFilter (options)

Name Type Attributes Description
options ColorOverlayFilterOptions <optional>

Options for the ColorOverlayFilter constructor.

Extends

  • Filter

Members

DEFAULT_OPTIONS ColorOverlayFilterOptions staticreadonly

Default shockwave filter options

Properties:
Name Type Default Description
alpha number 1

The alpha of the overlay

color number 0

The color of the overlay

alpha number

The alpha value of the color

Default Value:
  • 1

color number | number<Array> | Float32Array

The over color source

Default Value:
  • 0x000000