Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ColorMaskOptions

If you want to replace all of the RGB values in the source image with a mask color and just use alpha values, you must provide both the color you want to draw and the background color you want to multiply the alpha with.

export
interface

ColorMaskOptions

Hierarchy

  • ColorMaskOptions

Index

Properties

backgroundColor

backgroundColor: RGB

maskColor

maskColor: RGB

Generated using TypeDoc